Add the Google Sheets Connector
Authenticate to Google Sheets
After you add the connector, you need to set the required properties. On the New Connection page, enter the connection name of your choice. CData Sync supports authenticating to Google Sheets in several ways. Select your authentication method below to proceed to the relevant section that contains the authentication details.Token
To connect with token-based authentication, specify the following properties:- Auth Scheme: Select Token.
- API Key: Enter the API key that you want your client application to use when it calls an API that is enabled in a Google Cloud Platform project. To create an API key in the Google Cloud console, select Create credentials > API Key. Use the key that is generated in the API Key text box on this page.
OAuth
OAuth JWT
GCP Instance Account
AWS Workload Identity
To connect with AWS Workload Identity federation credentials, specify the following properties:
- Auth Scheme: Select AWSWorkloadIdentity.
- AWS Workload Identity Config: Enter a semicolon-separated list of
Key=Valueproperties, as shown in this example:AWSWorkloadIdentityConfig="AuthScheme=AwsRootKeys;AccessKey='AKIAABCDEF123456';SecretKey=...;Region=us-east-1"Note that it is optional as to whether you want to include the value within quotes.
- Workload Pool Id: Enter The identifier (Id) of your Workload Identity Federation pool.
- Workload Project Id: Enter the Id of the Google Cloud project that hosts your Workload Identity Federation pool.
- Workload Provider Id: Enter the Id of your Workload Identity Federation pool provider.
Azure Workload Identity
To connect with single sign-on via PingFederate, specify the following properties:
- Auth Scheme: Select AzureWorkloadIdentity.
- Azure Workload Identity Config: Enter a semicolon-separated list of
Key=Valueproperties, as shown in this example:AzureWorkloadIdentityConfig="AuthScheme=AzureServicePrincipal;AzureTenant=directory (tenant) id;OAuthClientID=application (client) id;OAuthClientSecret=client secret;AzureResource=application id uri;"Note that it is optional as to whether you want to include the value within quotes.
- Workload Pool Id: Enter The identifier (Id) of your Workload Identity Federation pool.
- Workload Project Id: Enter the Id of the Google Cloud project that hosts your Workload Identity Federation pool.
Complete Your Connection
To complete your connection:- Specify the following properties:
- Spreadsheet: Enter a comma-separated list of names or identifiers of the spreadsheets that you want to view. (Example: SpreadsheetName1,SpreadsheetName2)
- Folder Name: Enter a comma-separated list of folder names from which to retrieve the spreadsheets. (Example: Name1,Name2)
- Define advanced connection settings on the Advanced tab. (In most cases, though, you should not need these settings.)
- Connect to Google Sheets to connect to your Google Sheets account.
- Click Create & Test to create your connection.