Prerequisites
Before you can configure and use Gemini Enterprise with Connect AI, you must first do the following:- Connect a data source to your Connect AI account. See Sources for more information.
- Have a Gemini Enterprise account (trial available).
- Have a Google Cloud project with billing enabled.
- In your Google Cloud account:
- Override the organization policy for Custom MCP data stores. Learn more.
- Grant the Discovery Engine Editor role to the administrator. Learn more.
Create an OAuth App in CData Connect AI
Gemini Enterprise uses OAuth 2.0 to authenticate users against the CData Connect AI MCP Server. This requires a user-based OAuth App in your CData Connect AI account.Enter the following settings:
- Name–enter a descriptive name (for example, GeminiEnterpriseOAuth).
- Authentication Flow–select User-based (Authorization Code).
- Callback URL–enter https://vertexaisearch.cloud.google.com/oauth-redirect.

Create the Custom MCP Server Data Store
In the Authentication settings section, enter the following:
- MCP Server URL–enter https://mcp.cloud.cdata.com/mcp.
- Authorization URL–enter https://cloud-login.cdata.com/authorize.
- Token URL–enter https://cloud-login.cdata.com/oauth/token.
- Client ID and Client Secret–from the OAuth App created above.

In the MCP Server Description field, enter a description that helps Gemini Enterprise understand what the server does and when to use it.
In the Configure your data connector section, select the Location of your data connector from the Multi-region field list.
Enable Actions
After creating the data store, you must enable at least one action before it can be used in Gemini Enterprise.By default, no tools or actions from your custom MCP server are enabled after the data store is created.
Open the Actions tab and click Reload custom actions to authenticate and retrieve available tools.
This performs a
tools/list call on the MCP server to retrieve available tools, which are then displayed on the screen.Connect the Data Store to a Gemini Enterprise App
In the Google Cloud console, go to the Gemini Enterprise page.
Query Live Data with Natural Language
With the data store connected, you can query live data using natural language from the Gemini Enterprise web application. Each user authorizes CData Connect AI on first use.Open Gemini Enterprise and click the connections icon. Click Authorize next to CData Connect AI and complete the sign-in.

Ask natural language questions about your data, such as:
- “Show me all records from the last 30 days”
- “What are the top accounts by revenue?”
- “List all active opportunities and their current status”
- “Summarize activity for this quarter”


