Skip to content

Google APIs Credential Setup

This guide walks you through setting up OAuth credentials for Google APIs (such as Google Docs, Gmail, Google Drive, etc.) in Jentic.

Overview

What you'll need

What you'll do

  1. Find the Google API in Jentic's API Directory and add it to your registry
  2. Enable the API in Google Cloud Console
  3. Create OAuth credentials (Client ID and Client Secret) in Google Cloud Console
  4. Connect the credentials in Jentic by entering your Client ID and Client Secret
  5. Authorize access to complete the OAuth flow

Reusing credentials

Important: Once you've created OAuth credentials (Client ID and Client Secret) in Google Cloud Console, you can reuse them for multiple Google Suite APIs. You just need to ensure each API is enabled in Google Cloud Console. See the Reusing Credentials section below for details.


Step-by-Step Instructions

1. Find the Google API in Jentic

  1. In the Jentic webapp, click API Registry
  2. Go to Jentic API Directory and search for the Google API you need (e.g., "Google Docs" or "Gmail")
  3. Click Add to Registry
  4. Go back to your API Registry and find the Google API you just added
  5. Click the Credentials box and then Add credential
  6. Keep this tab open — you'll need the Redirect URI shown here

2. Enable the API in Google Cloud Console

  1. Open a new tab and go to Google Cloud Console
  2. Log in with your Google account
  3. In the top search bar, search for the Google API you need (e.g., "docs" for Google Docs API)
  4. Click on the API result (e.g., "Google Docs API")
  5. Click the blue Enable button
  6. Once enabled, click Manage

If this is your first time creating OAuth credentials, you'll need to configure the consent screen:

  1. Click Configure consent screen
  2. Fill out the required information:
  3. App name: Use a simple name like "Test" or your project name
  4. Accept the other default settings as prompted
  5. Complete the configuration

4. Create OAuth Credentials

  1. In the Google Cloud Console, click the Credentials tab
  2. On the right side, click the + Create credentials button
  3. Select OAuth client ID
  4. Configure the OAuth client:
  5. Application type: Select Web Application
  6. Name: Give it a descriptive name (e.g., "Jentic Google APIs")
  7. In the Authorized redirect URIs section:
  8. Paste the Redirect URI you copied from the Jentic webapp (from Step 1)
  9. Click Create

5. Copy Credentials to Jentic

  1. When the popup appears in Google Cloud Console, you'll see:
  2. Client ID
  3. Client Secret
  4. Copy both values and paste them into the corresponding input fields in the Jentic webapp
  5. Store these credentials securely — they will disappear from the Google Cloud Console popup after a few days

Security tip: Save your Client ID and Client Secret in a secure password manager. You'll need them if you want to add more Google APIs later.

6. Configure Scopes and Connect

  1. In the Jentic webapp, review the available scopes
  2. Select specific scopes if you want to limit access
  3. Click Connect to complete the setup

7. Authorize Access

  1. A Google sign-in popup will appear
  2. Sign in with the same Google account you used to log into Google Cloud Console
  3. Review the permissions requested
  4. If you're comfortable with the permissions, click Allow

8. Verify Setup

If no errors occurred, the Google API should now be: - Available in your API Registry - Ready to be added to a new Capability Set or MCP Configuration Set


Reusing Credentials for Multiple Google APIs

Once you've created OAuth credentials (Client ID and Client Secret) in Google Cloud Console, you can reuse them for other Google Suite APIs:

  1. Enable the new API in Google Cloud Console (search for it and click "Enable")
  2. Add the API to Jentic from the API Directory
  3. When adding credentials in Jentic, use the same Client ID and Client Secret you created earlier

Note: The Client ID and Client Secret are tied to your Google Cloud project, not to individual APIs. As long as you enable each API in Google Cloud Console, you can use the same credentials for all of them.


Troubleshooting

  • "Redirect URI mismatch" error: Make sure you've copied the exact Redirect URI from Jentic and pasted it correctly in Google Cloud Console
  • "API not enabled" error: Ensure the API is enabled in Google Cloud Console before trying to use it
  • Can't find the API: Make sure you're searching in the correct Google Cloud project and that you have the necessary permissions

Next Steps

After setting up your Google API credentials: - Add the API to a Capability Set for use with agents - Add the API to an MCP Configuration Set for use with MCP clients - Explore other Google APIs using the same credentials