---
canonical: https://docs.jentic.com/guides/credentials/google-apis-guide/
representation: markdown-alternate
# Canonical page: https://docs.jentic.com/guides/credentials/google-apis-guide/
# This is the Markdown alternate of the page above.
title: "Set Up Google API Credentials in Jentic One (OAuth)"
description: >-
  Set up OAuth credentials for Google APIs such as Docs, Gmail, and Drive in Jentic One:
  enable the API, create a Client ID and Secret, and authorize the flow.
---

# 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 One.

## Overview

### What you'll need

- A Google account with access to [Google Cloud Console](https://console.cloud.google.com/)
- The Google API you want to use (e.g., Google Docs, Gmail, Google Drive)

### What you'll do
1. **Find the Google API** in the Jentic Public API Catalog
2. **Enable the API** in Google Cloud Console
3. **Create OAuth credentials** (Client ID and Client Secret) in Google Cloud Console
4. **Add a credential** for the API by entering your Client ID and Client Secret, which includes it in your workspace
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](#reusing-credentials-for-multiple-google-apis) section below for details.

---

## Step-by-Step Instructions

### 1. Find the Google API in the Jentic Public API Catalog

1. In the Jentic One UI, open the **Jentic Public API Catalog** and search for the Google API you need (e.g., "Google Docs" or "Gmail")
2. Select the API and click **Add credential** (adding a credential includes the API in your workspace)
3. 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](https://console.cloud.google.com/)
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**

### 3. Configure OAuth Consent Screen (First Time Only)

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:
   - **App name:** Use a simple name like "Test" or your project name
   - Accept the other default settings as prompted
3. 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:
   - **Application type:** Select **Web Application**
   - **Name:** Give it a descriptive name (e.g., "Jentic Google APIs")
5. In the **Authorized redirect URIs** section:
   - Paste the local **Redirect URI** you copied from Jentic One (from Step 1)
6. Click **Create**

### 5. Copy Credentials to Jentic One

1. When the popup appears in Google Cloud Console, you'll see:
   - **Client ID**
   - **Client Secret**
2. **Copy both values** and paste them into the corresponding input fields in the Jentic One UI
3. **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 One UI, review the available scopes
   - Select specific scopes if you want to limit access
2. 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 **workspace** with credentials configured.

---

## 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. **Find the API** in the Jentic Public API Catalog
3. When adding a credential for it, **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 One 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:
- Use the API in your self-hosted [Jentic One](https://github.com/jentic/jentic-one)
- Explore other Google APIs using the same credentials
