Connect Gemini Enterprise
Gemini Enterprise connects to Maximizer as a custom MCP server data store. A Google Cloud administrator adds it once to your Gemini Enterprise app. Each user then signs in with their own Maximizer account the first time.
Before you start, check what you need on the overview page.
For Gemini Enterprise you also need
- A Gemini Enterprise app managed in the Google Cloud console, which your users already use.
- A Google Cloud administrator with the Discovery Engine Editor role on the project.
- Custom MCP server data stores allowed in your Google Cloud organization. An Organization Policy Administrator turns off the constraint that disables them.
- Access control set up for your Gemini Enterprise project, with the identity provider your users sign in with.
Add the data store (administrators)
-
In the Google Cloud console, open Gemini Enterprise for your project, go to Data stores and choose Create data store.
-
Under MCP servers, on the Custom MCP Server card, choose Add MCP server.
-
In MCP Server Configuration, leave Route egress through Agent Gateway cleared.
-
Under Authentication settings, select OAuth 2.0 and enter these values:
Field Value MCP Server URL https://mcp.maximizer.com/mcpAuthorization URL https://auth.maximizer.com/v1/authorizeAuthorization URL Parameters empty Token URL https://auth.maximizer.com/v1/tokenClient ID maximizer-gemini-enterpriseClient Secret empty Scopes dataEnable PKCE Support selected Use HTTP Basic Authentication cleared -
Choose Continue under the values, then Continue at the bottom of the page.
-
In Configure your data connector, set Multi-region to the same location as your Gemini Enterprise app, enter
Maximizeras the Data connector name, and choose Create. -
Open the new data store, go to Actions and choose Reload custom actions. Complete the Maximizer sign-in in the window that opens.
-
Select the Maximizer actions your users need and enable them.
-
Go to Apps, open your Gemini Enterprise app, then Connected data stores, and choose Add existing data stores.
-
Select the Maximizer data store and choose Connect.
Use Maximizer in Gemini
- Open your Gemini Enterprise app and start a new chat.
- Choose the connectors button in the message box, find Maximizer and choose Connect.
- Complete the Maximizer sign-in in the window that opens.
- Ask your question.
Gemini keeps you signed in from then on.
Troubleshooting
| What you see | What it means | What to do |
|---|---|---|
| Custom MCP Server is not offered when creating a data store | Your organization policy disables custom MCP server data stores | Ask your Organization Policy Administrator to turn off that constraint |
| Gemini asks you to configure access control before you can create the data store | Your Gemini Enterprise project has no identity provider yet | Set up access control for the project, then create the data store |
| The data store shows "Actions for this custom MCP server are disabled" | No Maximizer actions are enabled yet | On the data store's Actions tab, choose Reload custom actions, then enable the actions |
| The Maximizer sign-in completes but Gemini shows an error | The data store is not connected to your Gemini Enterprise app | In Apps, open your app, then Connected data stores, and add the Maximizer data store |
| Sign-in stops with "PKCE with code_challenge_method S256 is required" | Enable PKCE Support is not selected on the data store | Select Enable PKCE Support in the data store's authentication settings |
| Sign-in stops with a message about the scope | The scope is not exactly data, or extra authorization parameters are set | Set Scopes to data and empty Authorization URL Parameters |
For sign-in problems such as "Sign-in could not be completed (invalid_client)", see troubleshooting on the overview page.
Updated about 5 hours ago
