Google Sheets – Google Service Account
In this article
Overview
You can use this account type to connect Google Sheets Snaps with data sources that use Google Service Account.
Prerequisites
Valid JSON key. Learn how to create a JSON key.
Limitations and Known Issues
None.
Account Settings
Asterisk ( * ): Indicates a mandatory field.
Suggestion icon ( ): Indicates a list that is dynamically populated based on the configuration.
Expression icon ( ): Indicates the value is an expression (if enabled) or a static value (if disabled). Learn more about Using Expressions in SnapLogic.
Add icon ( ): Indicates that you can add fields in the field set.
Remove icon ( ): Indicates that you can remove fields from the field set.
Field Name | Field Type | Description |
---|---|---|
Label*
Default Value: Google Service Account | String | Specify a unique label for the account.
|
JSON key*
Default Value: N/A | String/Expression | Specify the JSON key created for the service account. Learn how to create a JSON key. For enhanced security, you can store your JSON key in a secret vault and pass it in this field. |
How to use the Google Service Account to read and write data from Google Sheets
To read and write data in Google Sheets that belong to a user within your organization, you can use the Google Service Account. Here are the steps to configure:
Get the Service Account email.
In the Details tab of your Service Account, locate the Email field. The format is: your-service-account-name@your-project-id.iam.gserviceaccount.com.
Share the Spreadsheet.
Open the Google Sheet in your browser.
Click the Share button.
Enter the Service Account email address.
Set the permission to Editor if you need write access or Viewer if you need only read access.
Click Send.
Learn more: How to Access Google Sheets Data Using a Service Account.
Troubleshooting
Error | Reason | Resolution |
---|---|---|
| Found an empty ID. | Provide a unique name for the spreadsheet and retry. |
| The spreadsheet may not exist or cannot be accessed. | Verify if the spreadsheet exists and retry. |
Related Content:
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2025 SnapLogic, Inc.