Google Sheets
Connect to Google Sheets, then access and manipulate data in Appizap.
Last updated
Connect to Google Sheets, then access and manipulate data in Appizap.
Last updated
Follow the steps below to create a service account for your Google Cloud project and share your Google sheet through the **** service account key.
Follow the steps below:
Enable the Google Sheets API of your Google Cloud project.
Select APIs & Services > Credentials from the left panel.
Click + CREAT CREDENTIALS > Service account to create a new service account.
Get a service account key:
Click the Email of the service account.
Click KEYS > ADD KEY > Create new key.
Select JSON as the key type.
Click CREATE to download it.
Now the service account key, in a JSON format, is downloaded to your device. Make sure to keep it somewhere safe.
Navigate back to to Google Sheets, and follow the steps below to share your sheet through the **** service account key.
Open the JSON file of the key.
Copy the value of client_email
, which is an identity used for access management of your sheet.
Click Share at the top right and paste the copied client_email
value to add a member with access.
Select Editor as the role and click Send.
When you see the notification Access updated, you have authorized this service account to edit your sheet.
Follow the steps below:
Click Data Sources on Appizap homepage.
Click New Data Source on the top right. Note that this permission is restricted to workspace admins and developers.
Select Database > Google Sheets as the type.
Set its name and paste the whole content in the JSON flie of the key to Service Account.
Click Save, and you can check it in your data source library later.
To access and manipulate data in your app, you can fill in the Spreadsheet id and Sheet Name in a query editor as follows.
The available methods are Read Data, Append Row, Update Row, and Clear Row.