3️Google Sheets
Create a service account key
Activate the Google Sheets API of your Google Cloud project.
From the left panel, select APIs & Services > Credentials.
To establish a new service account, select CREATE CREDENTIALS > 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.
Ensure to securely store the downloaded service account key in JSON format on your device. It's crucial to keep it in a safe location.
Share your Google sheet
Return to Google Sheets, then proceed with the following steps to share your sheet using the service account key.
Open the JSON file of the key.
Retrieve the value of
client_email
, which serves as an identity utilized for access management of your sheet.Click on the "Share" button located at the top right corner, then paste the copied
client_email
value to add a member with access.Select Editor as the role and click Send.
Once you receive the notification "Access updated", it indicates that you have successfully authorized this service account to edit your sheet.
Connect Google Sheets to QuickDEV
Follow the steps below:
Click Data Sources on QuickDEV homepage.
Click on "New data source" located in the upper right corner. Please 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.
The available methods are Read Data
, Append Row
, Update Row
, and Clear Row
.
Last updated