Skip to main content

Configure Connection

Google Sheets guide

Configure service account access to Google Sheets, add up to five spreadsheet IDs, and test access to the first spreadsheet.

Before you startDirect link to Before you start

Google Sheets uses the same service account, domain-wide delegation, and P12 certificate connection method as Google Workspace. Use the Sheets API and Sheets scope below in place of that guide's Workspace API and scope lists.

NIM requires Client ID, Tenant ID, and Certificate, plus the first Sheet ID. You can configure up to five spreadsheet IDs in one system. This connector reads spreadsheet data as a source for NIM.

Create the service account and enable Sheets APIDirect link to Create the service account and enable Sheets API

  1. Follow the service account and P12 key instructions in the Google Workspace connection guide, creating a Google Sheets system in NIM for this integration.

  2. In the Google Cloud project used by the service account, enable the Sheets API in Cloud Shell:

    gcloud services enable sheets.googleapis.com
  3. Record the service account's email address and numeric Unique ID, and retain the downloaded P12 certificate and its password.

Step 1 of 4