Google Sheets
ToolJet has the capability to establish a connection with Google Sheet for both reading and writing data. By utilizing OAuth 2.0, ToolJet can establish a secure connection with Google Sheet, ensuring that the application's access to a user's account is restricted and limited appropriately.
Self-Hosted Configuration
If you decide to self-host ToolJet, there are a few additional steps you need to take:
- Proceed with the setup steps provided in the Google OAuth 2.0 guide to configure the necessary settings.
- Assign the corresponding values obtained from the previous step to the following environment variables:
- GOOGLE_CLIENT_ID
- GOOGLE_CLIENT_SECRET
- TOOLJET_HOST
- Activate the Google Sheets API within the Google Cloud Platform (GCP) console.
Connection
To establish a connection with the Google Sheet datasource, you can either click on the + Add new Data source button located on the query panel or navigate to the Data Sources page through the ToolJet dashboard.
Authorization Scopes
When connecting to a Google Sheets datasource, you can choose between two permission scopes:
- Read Only: This scope allows you to access and retrieve data from the Google Sheet.
- Read and Write: This scope grants you both read and write permissions, enabling you to retrieve and modify data within the Google Sheet.
