Google Sheet
This guide walks you through setting up a Google Cloud project, OAuth 2.0 and API Key credentials, and configuring your on-premise Nected deployment so users can connect Google Sheets as an integration. The Gsheet connector is used in Nected for reading and writing spreadsheets.
Prerequisites
Access to your on-premise Nected deployment (Helm values and cluster)
A Google account with access to Google Cloud Console
Your Nected UI base URL for the OAuth redirect URI
Requires Garuda. Enable the Garuda service before adding Gsheet. See How to enable integrations in the Overview.
Step 1: Create a Google Cloud Project
Go to Google Cloud Console.
Sign in with your Google account.
Create a new project (or select an existing one):
Click the project selector at the top, then New Project.
Enter a Project name (e.g.
NectedorNected Gsheet).Click Create.

Step 2: Configure OAuth Consent Screen (Branding)
In the Google Cloud Console, open APIs & Services → OAuth consent screen.
Choose External (or Internal if only your organization will use the integration) and click Create.
Fill in the App information:
App name (e.g.
Nected)User support email
Developer contact email
Under Scopes, add the scopes required for Google Sheets (or add them when configuring OAuth credentials; see Step 3).
Save the consent screen. If you use External and go to production, you may need to submit the app for verification depending on scope and usage.

Step 3: Create OAuth 2.0 Credentials
Go to APIs & Services → Credentials.
Click Create Credentials → OAuth client ID.

If prompted, complete the OAuth consent screen configuration.
For Application type, select Web application.
Give the client a Name (e.g.
Nected Gsheet).Under Authorized redirect URIs, add your Nected OAuth redirect URI:
Format:
https://<nected-ui-domain>/auth/redirect(or the redirect path your Nected deployment uses for Google OAuth; confirm in your Nected docs or existing config).Example:
https://nected.yourcompany.com/auth/redirect
Click Create.
Copy the Client ID and Client Secret and store them securely. You will use them in
nected-values.yaml.

Step 4: Create API Key Credential
The Gsheet connector also requires an API Key in addition to OAuth (used for Sheets API access).
In APIs & Services → Credentials, click Create Credentials → API key.
Copy the generated API key and store it securely.
(Recommended) Restrict the key:
Click Edit API key (or open the key from Credentials).
Under API restrictions, restrict to Google Sheets API (and Google Drive API if needed).
Under Application restrictions, you can restrict by IP or HTTP referrer if your Nected deployment has fixed egress IPs or domains.
You will add this API key to CREDENTIAL_CONFIG_MAP in the next step.

Step 5: Enable Required APIs (If Not Already Enabled)
Go to APIs & Services → Library.
Search for Google Sheets API and Google Drive API and ensure both are Enabled for your project.

Step 6: Update nected-values.yaml — CREDENTIAL_CONFIG_MAP
nected-values.yaml — CREDENTIAL_CONFIG_MAPIn nected-values.yaml, CREDENTIAL_CONFIG_MAP and SYNC_PLUGINS are set under the nalanda section (envVars). They are not present in the file by default—copy the default values from the Overview and append your integration entries. Both must be single-line (no newlines); do not remove existing values.
Open your
nected-values.yamlfile.Under the nalanda envVars section, locate or add
CREDENTIAL_CONFIG_MAP.CREDENTIAL_CONFIG_MAPmust be a single-line JSON string (no newlines or pretty-printing). Add the Gsheet entry to the existing JSON object; do not remove other integrations.
Gsheet config to add (merge into the existing CREDENTIAL_CONFIG_MAP value). Required fields: clientId, clientSecret, API_KEY(and other values like scopes, in case required).
Single-line example (replace placeholders and merge with any existing integrations):
Replace
<<CLIENT-ID-OAUTH-CREDENTIAL>>with the OAuth 2.0 Client ID from Step 3.Replace
<<CLIENT-SECRET-OAUTH-CREDENTIAL>>with the OAuth 2.0 Client Secret from Step 3.Replace
<<API-KEY-CREDENTIAL>>with the API Key from Step 4.If you already have other integrations (e.g.
slack,msexcel), keep them in the same object; only append thegsheetkey.
Step 7: Update nected-values.yaml — SYNC_PLUGINS
nected-values.yaml — SYNC_PLUGINSIn the same
nected-values.yaml, under the nalanda envVars section, locate or addSYNC_PLUGINS.SYNC_PLUGINSis a single-line comma-separated list. Appendgsheetto the existing list; do not remove existing plugins. For example:
Use your current plugin list and add gsheet at the end (or after the last plugin you use).
Step 8: Apply Changes with Helm
(Optional) Update the Helm repo if you want the latest chart:
Upgrade the release with your values file:
If the Gsheet integration does not appear under Integrations in the Nected UI:
Restart Nalanda:
kubectl rollout restart deploy nected-nalandaOptionally run plugin sync from inside the Nalanda pod:
kubectl exec -it <<nalanda-pod-name>> -- /bin/bashthen./nalanda sync plugin
Summary Checklist
Create a project in Google Cloud Console.
Configure OAuth consent screen (branding and app info).
Create OAuth 2.0 credentials (Web application), add redirect URI, and save Client ID and Client Secret.
Create API Key credential and optionally restrict it to Sheets (and Drive) API.
Enable Google Sheets API and Google Drive API for the project.
In
nected-values.yaml: add gsheet to CREDENTIAL_CONFIG_MAP (Nalanda envVars), add gsheet to SYNC_PLUGINS, and enable Garuda with Redis envVars matching Nalanda.Run Helm upgrade and, if needed, restart Nalanda or run plugin sync.
Troubleshooting
Gsheet not in Integrations list: Ensure gsheet is in
SYNC_PLUGINS, Garuda is enabled with correct Redis settings, and run./nalanda sync plugininside the Nalanda pod if needed.OAuth or redirect errors: Confirm the Authorized redirect URI in Google Cloud matches your Nected UI redirect URL exactly (e.g.
https://<nected-ui-domain>/auth/redirect).Redis / Garuda errors: Ensure Garuda’s REDIS_* envVars match Nalanda’s and that Redis is reachable from the cluster. Use the same REDIS_HOST, REDIS_PORT, and credentials; REDIS_DB can differ.
API key errors: Ensure Google Sheets API (and Google Drive API if used) are enabled for the project and that the API key is not over-restricted (e.g. by referrer or IP if Nected runs in a different network).
Last updated