Skip to main content
An IT admin adds StackOne to the Gemini Enterprise app, bringing Linked Accounts from many providers. Each user then connects with their own accounts: an HR manager uses Gemini Enterprise with Workday, Greenhouse and BambooHR, and a sales manager uses Gemini Enterprise with Salesforce, HubSpot and Gmail.
Make StackOne available to everyone who uses your Gemini Enterprise app. Each person then signs in with their own StackOne login and reaches only the systems they’ve been given access to in StackOne.

Before you start

This guide covers the Standard, Plus, Pay-as-you-go and Frontline editions. It doesn’t cover the Business edition, which has its own setup steps. In Google Cloud, you need the Discovery Engine Editor role, or the broader Gemini Enterprise Admin role, on the project that holds your Gemini Enterprise app. Changing organization policies needs the Organization Policy Administrator role, which someone else may hold. Gemini Enterprise asks for a client ID and secret, so you create an OAuth client for it in StackOne first. You also sign in to StackOne yourself during setup, so Gemini Enterprise can list the actions. In StackOne, you need the Project Admin role to create the OAuth client, plus:
  • A StackOne project you are a member of.
  • A connector profile in the project for each provider the client should reach, with the actions you want exposed enabled.
  • (Optional) A linked account for each provider. Accounts can also be linked during the consent flow.

Add StackOne to your Gemini Enterprise app

1

Create an OAuth client in StackOne

  1. In the StackOne dashboard, go to Project Settings → MCP OAuth Clients → Create OAuth Client.
  2. Set Name to Gemini Enterprise and leave Client type set to Confidential.
  3. Under Common integrations, click Add next to Gemini Enterprise. This fills in the redirect URI:
  4. Click Generate, then copy the client ID and secret. The secret is shown only once.
For more on these clients, see Clients requiring Client ID and Secret.
2

Allow custom MCP servers in Google Cloud

An organization policy blocks custom MCP servers in Gemini Enterprise until you override it:
  1. In the Google Cloud console, open the Organization Policies page and select the project that holds your app.
  2. Filter for Disable custom MCP server connector for Gemini Enterprise and click the policy.
  3. Click Manage policy, then select Override parent’s policy.
  4. Add a rule, turn enforcement off, and click Set Policy.
The policy’s status now shows Not enforced.
The Google Cloud policy page for Disable custom mcp server connector for gemini enterprise, with the Status row reading Not enforced
If your project uses VPC Service Controls or is listed in the enforced projects of these two policies, update them too:
  • Restrict egress domains for data connectors: add mcp.stackone.com and idp-api.stackone.com to the allowed domains.
  • Restrict allowed data sources for data connectors: add custom_mcp.
3

Add StackOne as a custom MCP server

  1. In the Google Cloud console, go to the Gemini Enterprise page, click Apps, then click your app.
  2. Click Connected data stores, then New data store.
  3. Search for Custom MCP Server, then click Add MCP server on the Custom MCP Server card.
    The Gemini Enterprise Create data store page in the Google Cloud console, with Custom MCP server in the search box and the Custom MCP Server card showing an Add MCP server link
  4. Under Authentication settings, select OAuth 2.0 and fill in: Tick Enable PKCE Support and leave the other fields as they are.
  5. Click Verify Auth.
4

Sign in and authorize

Gemini Enterprise asks you to sign in to StackOne with your own login. This sign-in is for setup. Each user still authorizes StackOne with their own login.Sign in, pick the project and the linked accounts the connector should reach, then Authorize.
Leave Load tools when needed on.Back in the Google Cloud console, the form shows Successfully logged in. Click Continue.
The MCP Server Configuration form after Verify Auth, showing a Successfully logged in message above a Continue button
5

Create the data store

  1. Leave Advanced options as they are and click Continue.
  2. Under Location of your data connector, choose a location from the Multi-region list.
  3. Set Your data connector name to StackOne. This is the name your users look for in Gemini Enterprise.
  4. Click Create.
Open the new data store and wait for its state to change from Creating to Active.
6

Turn on StackOne's actions

Every action starts turned off.
  1. In the StackOne data store, click Actions, then Reload custom actions. Gemini Enterprise signs in again and lists StackOne’s tools.
  2. Select the tools your users need, keeping the total at 100 or fewer.
  3. Click Enable actions.
If you turned Load tools when needed off, the list holds every action you selected on the consent screen. Select the ones your users need. Google says to keep no more than 100 actions enabled in a data store.
The Actions page of a custom MCP server data store, with the Reload custom actions button and a list of actions with their status
StackOne is now in this one app. To use it in another Gemini Enterprise app, add it there too. An app in another project also needs the policy override in that project.

Roll it out

StackOne is now available for your users in Gemini Enterprise. Make sure the following is ready before rolling out:
  • Add users. Invite or provision users via SSO/SCIM. See Manage Team.
  • Create groups. Organize teams into groups to control which systems each team reaches.
  • Set up connectors. Define Connector Profiles to scope provider actions for specific functions.
  • Link accounts. Link shared company accounts, or let users link their own accounts. See Linking Accounts.
Each user also needs a Gemini Enterprise license for the app’s project and location, and the Gemini Enterprise User role on the project. To limit someone to certain apps, replace that project role with Gemini Enterprise Restricted User, then grant Gemini Enterprise User on each of those apps. Google supports the app grant only through the API. Then send users this guide:

Gemini Enterprise Organization User Setup

For people in your organization connecting StackOne in Gemini Enterprise.

Keep the action list current

With Load tools when needed on, Gemini Enterprise searches StackOne for actions as it needs them, so action changes in StackOne apply without a reload. If you turned it off, Gemini Enterprise works from the actions it listed the last time someone clicked Reload custom actions. When the actions available in StackOne change, open the StackOne data store, click Actions, then Reload custom actions, and turn on any new ones.

Sign in again

StackOne sign-ins last 90 days. If the setup sign-in stops working, open the StackOne data store, click Actions, then Reload custom actions to sign in again.