docs/versioned_docs/version-2.62.0/marketplace/plugins/pocketbase.md
ToolJet connects to your PocketBase database, allowing you to directly interact with your PocketBase backend from the convenience of your ToolJet application.
:::info NOTE: Before following this guide, it is assumed that you have already completed the process of Using Marketplace plugins. :::
To connect to PocketBase, you need the Host URL, email, and password. The Host URL is the URL of your PocketBase instance. Email and password are the credentials of the user who has access to the PocketBase instance.
Establish a connection to PocketBase by either clicking +Add new Data source on the query panel or navigating to the Data Sources page from the ToolJet dashboard.
Enter your Host URL, email and password into their designated fields.
Click Test Connection to validate your credentials. Click Save to store the data source.
To perform queries on PocketBase in ToolJet, click the +Add button in the query manager located at the bottom panel of the editor.
Select the previously configured PocketBase datasource.
In the Operation dropdown, select the desired operation type. ToolJet currently supports five query types for PocketBase interactions.
Enter the collection name and other required parameters for the selected operation and click on Run button to run the query.
:::info Query results can be transformed using transformations. Read our transformations documentation. :::
You can create query for PocketBase data source to perform several operations such as:
- / +(default) in front of the attribute for DESC / ASC order.