Cloud Firestore
ToolJet can connect to Cloud Firestore databases to read and write data.
Connection​
To establish a connection with the Cloud Firestore data source, you can either click on the + Add new Data source button located on the query panel or navigate to the Data Sources page from the ToolJet dashboard and choose Cloud Firestore as the data source.
ToolJet requires the following to connect to your BigQuery:
- Private key
For generating a private key check out Firestore's official documentation.

Querying Firestore​
- Click on + Add button of the query manager at the bottom panel of the editor.
- Select the Cloud Firestore datasource added in previous step.
- Select the desired operation from the dropdown and enter the required parameters.
- Click on the Preview button to preview the output or Click on the Run button to trigger the query.

Query results can be transformed using transformations. Read our transformations documentation to see how: link
Supported Operations​
- Get Document
- Query collection
- Add Document to Collection
- Update Document
- Set Document
- Bulk update using document ID
- Delete Document
Get Document​
Use this operation to get the data in a document.
Required Parameters​
- Path

Query Collection​
Use this operation to query all the documents in a collection. Check firestore doc here.
Required Parameters​
- Path
Optional parameters​
- Order type
- Limit
- Field
- Operator
- Value

Add Document to Collection​
Use this operation for creating a new document in a collection.
Required Parameters​
- Collection
- Body.
Example​
{
"Author": "Shubh",
"id": 5
}
