> ## Documentation Index
> Fetch the complete documentation index at: https://www.domo.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Gemini Enterprise to Domo MCP

## Intro

This article explains how to connect Google Gemini Enterprise to Domo's MCP Server using a custom MCP data store, letting Gemini Enterprise securely access your Domo AI Library Toolkits and the private data behind them.

***

## Required Grants

To connect Gemini Enterprise to Domo's MCP Server, the following grants must be enabled for your role:

* **Use AI Services —** Access to features and Apps built using the AI Services Layer.
* **Use AI Chat —** Access to the Domo AI Assistant.
* **Use MCP —** Access to connect external AI tools to Domo's MCP Server.

Learn more about [grants](https://www.domo.com/docs/s/article/360043438973.md).

## Prerequisites

* A Toolkit in the [AI Library](https://www.domo.com/docs/s/article/AI-Library.md) that you want to expose to Gemini Enterprise.
* Admin access in Domo to create an OAuth client and generate an access token.
* Access to the Google Cloud Console with permission to create data stores in your Gemini Enterprise app.

> [!NOTE]
>
> **Note:** A custom MCP data store can be shared by every user in your Gemini Enterprise app. Only one person needs to complete this setup — the rest of your organization doesn't need to create its own data store.

The custom MCP data store lets you integrate Domo Toolkits, as well as other MCP-compliant third-party systems, directly into Gemini Enterprise. This gives your Gemini Enterprise agents access to business-critical information and specialized logic within your Domo instance when a standard connector isn't available.

## Get Your Toolkit's MCP Server Details

1. From the **AI Library**, select the **Toolkits** tab and find the Toolkit you want to expose.

2. Select the action menu on the Toolkit and choose **Use in MCP**.

   ![Domo AI Library Toolkits list with the toolkit menu open, showing Edit, Use in MCP, and Delete](https://mintcdn.com/domoinc/tOG8u0X9zwdtTFnr/images/kb/gemini-enterprise-toolkit-use-in-mcp.png?fit=max\&auto=format\&n=tOG8u0X9zwdtTFnr\&q=85\&s=7ffa9b71550387f6fa8ec0f2d1a04ae3)

3. Copy the **Server URL**. You'll paste this into Gemini Enterprise in a later step.

   ![Use Toolkit as MCP Server dialog showing the Server URL and Authentication header](https://mintcdn.com/domoinc/tOG8u0X9zwdtTFnr/images/kb/gemini-enterprise-mcp-server-dialog.png?fit=max\&auto=format\&n=tOG8u0X9zwdtTFnr\&q=85\&s=5f0fc2ebc1a304dec9211dd766cb86a5)

## Create a Domo Client ID and Secret

Gemini Enterprise authenticates to your Toolkit's MCP server using an OAuth 2.0 Client ID and Secret. Create one before configuring the data store.

1. Generate a Domo access token. See [Manage Access Tokens](https://www.domo.com/docs/s/article/360042934494.md) for instructions.

   > [!TIP]
   >
   > **Tip:** Set the access token's time to live to at least one year so you don't need to regenerate it and update the data store again soon after.

2. Open a terminal and run the following curl command, replacing `<DOMAIN>` with your Domo instance domain and `<ACCESS_TOKEN>` with the token you generated:

   ```bash theme={"dark"}
   curl -i -X POST \
     "https://<DOMAIN>/oauth2/admin/clients" \
     -H "X-DOMO-Developer-Token: <ACCESS_TOKEN>" \
     -H "Content-Type: application/json" \
     -d '{
       "client_name": "Gemini Enterprise MCP",
       "redirect_uris": ["https://vertexaisearch.cloud.google.com/oauth-redirect"],
       "grant_types": ["refresh_token", "authorization_code"],
       "token_endpoint_auth_method": "client_secret_post",
       "scope": "ai:read ai:execute"
     }'
   ```

   > [!NOTE]
   >
   > **Note:** You can also authenticate this request with a browser session cookie instead of an access token by sending `X-DOMO-Authentication: <SESSION>`, where `<SESSION>` is the value of the `DA-SID-xxx-xxx-xxx-xxx` cookie (found under **Developer Tools > Network > Headers > Cookie** in your browser). An access token is recommended since it doesn't require you to stay signed in.

3. The response includes a `client_id` and `client_secret`. Copy both values — you'll need them to configure the data store in Google Cloud.

## Configure the Data Store in Google Cloud

1. Open the [Google Cloud Console](https://console.cloud.google.com) and go to the **Gemini Enterprise** page.

2. Select **Data stores**, then select **Create data store** and search for **Custom MCP Server**.

3. Under **Configure Endpoint**, enter the **Server URL** you copied in [Get Your Toolkit's MCP Server Details](#get-your-toolkits-mcp-server-details), then select an authentication method:

   * **OAuth 2.0** (recommended) — enter the following:
     * **Authorization URL —** `https://<DOMAIN>/oauth2/authorize`
     * **Token URL —** `https://<DOMAIN>/oauth2/token`
     * **Client ID** and **Client Secret —** from the curl response in the previous step.
     * **Scopes —** `ai:read ai:execute`
   * **No authentication** — only available if your MCP endpoint doesn't require credentials. This doesn't apply to a Domo Toolkit MCP server.

   ![Google Cloud data store authentication panel with OAuth 2.0 fields for the MCP Server URL, Authorization URL, Token URL, Client ID, Client Secret, and Scopes](https://mintcdn.com/domoinc/tOG8u0X9zwdtTFnr/images/kb/gemini-enterprise-data-store-oauth-config.png?fit=max\&auto=format\&n=tOG8u0X9zwdtTFnr\&q=85\&s=4a4991c8020df82b8c903e3b8e742998)

4. Under **Manage Governance**, optionally control traffic and egress routing through the **Agent Gateway** and other advanced options.

5. Select **Save** (or **Update**, if you're editing an existing data store).

> [!NOTE]
>
> **Note:** If the tool your Gemini Enterprise agent calls uses a Domo-provided AI model, input and output token charges may apply.

## FAQ

> **Does each user need to create a Google Data Store?**
>
> No. All users can share a single Google Data Store.

> **Can I connect to an existing data store?**
>
> Connecting to an existing data store isn't supported. You must create and register a new custom MCP server data store directly within your Gemini Enterprise app.

## Related Articles

* [AI Library](https://www.domo.com/docs/s/article/AI-Library.md)
* [Connect AI Tools to Domo Using MCP](https://www.domo.com/docs/s/article/Connect-AI-Tools-to-Domo-Using-MCP.md)
* [Connect Amazon Quick Suite to Domo MCP](https://www.domo.com/docs/s/article/Connect-Amazon-Quick-Suite-To-Domo-MCP.md)
* [Manage Access Tokens](https://www.domo.com/docs/s/article/360042934494.md)
