Last date modified: 2026-Sep-04
Google Gemini
This topic describes how to set up and use Google Gemini Enterprise with the RelativityOne MCP server.
Prerequisites
- A RelativityOne instance with the MCP gateway enabled.
- System Administrator access in Relativity to create OAuth2 clients.
- Access to the Google Gemini Enterprise Console with permissions to create data stores and apps.
Step 1: Create a Relativity OAuth2 client
Create an OAuth2 client in Relativity that Google Gemini will use to authenticate.
-
In Relativity, navigate to OAuth2 Client tab.
-
Click New OAuth2 Client and fill in the following values:
Field Value Name Google Gemini (or any descriptive name) Flow Grant Type Code Redirect URLs https://vertexaisearch.cloud.google.com/oauth-redirectAllow Refresh Tokens Disabled Access Token Lifetime Enter desired value in minutes -
Click Save.
-
Copy the Client ID and Client Secret displayed on the confirmation screen. You will not be able to retrieve the secret after navigating away from this page.
Step 2: Create a Gemini Enterprise data store
A data store connects Gemini Enterprise to your RelativityOne MCP server.
-
In Google Cloud Console, navigate to Data stores for your project.
-
Click Create data store.
-
Scroll to the MCP servers section and select Custom MCP Server.
-
Enter the MCP server connection details, replacing
[YourTenantHostname]with your RelativityOne hostname (for example,kcura.relativity.one). To find your tenant hostname, look at the first part of the web address in your browser after you sign in to RelativityOne. If your Relativity login URL ishttps://kcura.relativity.one/Relativity/Identity/loginfor example, the hostname would bekcura.relativity.one.Field Value Authentication Method OAuth 2.0 MCP Server URL https://[YourTenantHostname]/mcpAuthorization URL https://[YourTenantHostname]/Relativity/Identity/connect/authorizeAuthorization URL Parameters &resource=https://[YourTenantHostname]/mcpToken URL https://[YourTenantHostname]/Relativity/Identity/connect/tokenClient ID The Client ID copied from Step 1 Enable PKCE Support No Client Secret The Client Secret copied from Step 1 Scopes UserInfoAccess -
Click Verify connection to confirm Gemini can reach your MCP server.
-
Enter a name and optional description for the data store (for example, Relativity MCP), then click Create.
Step 3: Enable actions
After creating the data store, verify that all available Relativity tools are enabled.
- Open your new data store and navigate to the Actions tab.
- Confirm that all
relone_*tools show a status of Enabled. If actions are not listed, click Reload custom actions. - To enable your tools, select all rows and click Enable actions.
Step 4: Create a Gemini Enterprise app
- In Gemini Enterprise, navigate to Apps and click Create app.
- Follow the prompts to choose a display name and location. Optionally, you can fill in the Advanced options section.
- Click the Create button.
Step 5: Connect the data store to the app
- Click Connected data stores on the left panel.
- Click Add existing data stores and select the data store you created in Step 2.
- Select the data store and click Connect.
Step 6: Authorize and verify the connection
The first time you open the app chat, you must authorize the Relativity data connector.
- Open the chat window and click the Connectors icon in the bottom left corner of the chat box to expand the connector list.
- Locate your Relativity Connector and click Authorize.
- Complete the Relativity login flow in the browser window that opens.
- After authorization, the connector appears with a link icon and its toggle enabled.
- Send a test prompt to confirm the connection is working. For example: Am I connected to RelativityOne? Which instance?
Frequently asked questions
Who needs to authorize the connector?
Each user must authorize the connector once with their own Relativity credentials. Authorization grants the app access to Relativity on behalf of that user, scoped to their existing Relativity permissions.
Why can't I retrieve my Client Secret after saving?
Relativity displays the secret only once at creation time for security reasons. If you lose the secret, click the Reset Secret button to generate a new one.
What should I do if the connection verification fails in Step 2?
Verify the OAuth2 connection details in Relativity are correct, and ensure you have the correct host name for your Relativity Tenant. Re-authorize the Relativity connector from the chat box by first disconnecting via the disconnect icon on the connectors list and then clicking the Authorize button to re-authenticate.
What should I do if no actions appear on the Actions tab?
Click Reload custom actions. If the list remains empty, confirm that the connection verification passed and that your MCP gateway URL is correct.
On this page