To connect Gemini Enterprise to Salesforce and Snowflake with your existing permissions, connect both systems to a Nexatron workspace, have a Nexatron workspace administrator create a workspace client, and add Nexatron to Gemini Enterprise as a custom MCP server with the server URL https://api.nexatron.io/api/v1/mcp. Users sign in to Salesforce and Snowflake, or through the company’s SSO if it has one, and Nexatron inherits their existing permissions in both. Each answer comes back with the query that ran in each system and the definition it used, so the data team can check the number.
What you end up with
Gemini Enterprise is where many Google-first companies want their people to ask business questions, and Salesforce and Snowflake are where the answers live. The fast way to join them is a connector per system running under one integration user. It demos well and then stalls in security review, because every Gemini Enterprise user would read whatever that integration user can read.
This tutorial builds the version that passes review. Gemini Enterprise talks to Nexatron’s hosted MCP server as a custom MCP server. Nexatron talks to Salesforce and Snowflake under the signed-in user’s identity in each system, so sharing rules, field-level security, Snowflake roles, row access policies and masking policies decide what comes back. Nothing about those rules is copied into Gemini Enterprise or into Nexatron.
Plan on four owners: a Salesforce administrator, a Snowflake administrator, a Nexatron workspace administrator and a Gemini Enterprise administrator, plus whoever manages Google Cloud organization policy. In a pilot two or three people usually cover all of it in an afternoon.
Before you start
- A Gemini Enterprise appYou need an administrator who can add data stores to the app: the Discovery Engine Editor role in the Google Cloud console, or a Google Workspace administrator with the Gemini Enterprise management privilege in the Business edition (Google lists the feature as Preview there). Google’s editions and launch stages change, so check its custom MCP server page for yours.
- Organization policyCustom MCP server connectors are off by default. An Organization Policy Administrator turns off the constraint named Disable custom MCP server connector for Gemini Enterprise. Projects under VPC Service Controls or data connector enforcement also allow the custom_mcp data source and list api.nexatron.io as an allowed egress domain.
- A Nexatron workspace administratorThis person connects Salesforce and Snowflake, chooses who can use each connection and creates the workspace client Gemini Enterprise signs in with.
- Salesforce and Snowflake administratorsThe Salesforce administrator registers an External Client App. The Snowflake administrator runs the setup script and creates the sign-in integration.
- Two pilot users with different accessPick a regional sales manager and a finance analyst, for example. You need both for the permission test, and they make the first demo convincing.
Step 1: Connect Salesforce to your Nexatron workspace
In Nexatron, open Knowledge ▸ Sources ▸ New connection and choose Salesforce. Name the connection, tick Sandbox org if it is one, and enter your My Domain URL, for example https://acme.my.salesforce.com. Leave the consumer key empty, select Continue and Connect, then open the connection’s page. It shows the exact redirect URL for this connection and the OAuth scopes Salesforce must allow.
In Salesforce Setup, open External Client App Manager and create an app named Nexatron. Enable OAuth, paste the redirect URL as the callback, and add the scopes api, refresh_token and offline_access, and mcp_api. Under Security, require PKCE. Salesforce can take up to 30 minutes to make a new app available. Copy the consumer key, and the secret if your app requires one, into the Nexatron connection.
To limit who can sign in, require a permission set in the app’s OAuth Policies and assign it to the pilot group. Every user then connects under Your connected accounts on the Sources page, with their own Salesforce user, so the org’s sharing rules, role hierarchy, territories and field-level security apply to everything they ask.
Step 2: Connect Snowflake and turn on Snowflake sign-in
Add a second connection and choose Snowflake. Paste the account URL, enter the database and warehouse, and select Generate a key for me. Nexatron fills in a setup script with your names in it for the Snowflake administrator. The setup role it creates reads metadata so Nexatron can learn the schema; it never answers a question.
On the connection’s page, under Snowflake sign-in, choose Snowflake OAuth, or your identity provider through External OAuth if the company uses Okta or Microsoft Entra ID. Select Show the statement and have the Snowflake administrator run the generated CREATE SECURITY INTEGRATION as ACCOUNTADMIN, then paste the client ID and secret back. The integration blocks ACCOUNTADMIN, SECURITYADMIN and ORGADMIN, so nobody answers business questions with an administrative role.
Give each business role USAGE on the connection’s warehouse and set a sensible default role for every user who will ask. Then, under Who can use it, pick the pilot group for both connections. A new connection is available to nobody until you do.
USE ROLE SECURITYADMIN;
GRANT USAGE ON WAREHOUSE NEXATRON_WH TO ROLE SALES_ANALYST;
GRANT USAGE ON DATABASE ANALYTICS TO ROLE SALES_ANALYST;
GRANT USAGE ON SCHEMA ANALYTICS.PRODUCT TO ROLE SALES_ANALYST;
GRANT SELECT ON ALL TABLES IN SCHEMA ANALYTICS.PRODUCT TO ROLE SALES_ANALYST;
USE ROLE USERADMIN;
ALTER USER JSMITH SET DEFAULT_ROLE = SALES_ANALYST;Step 3: Create a workspace client for Gemini Enterprise
Claude, ChatGPT and Gemini CLI register themselves with Nexatron when someone connects. Gemini Enterprise works differently: its administrator pastes a client ID and secret into the console. So the Nexatron workspace administrator creates one under Settings ▸ Integrations ▸ AI assistants (MCP) ▸ Workspace clients.
Name it Gemini Enterprise and enter the redirect URI Google documents for custom MCP servers. Nexatron then shows the client ID, the client secret, the authorization URL, the token URL and the MCP server URL. The secret appears once and Nexatron keeps only a hash of it, so copy it straight into the Gemini Enterprise form or your secrets manager.
The client belongs to your workspace. It issues tokens only to users in that workspace, and no other Nexatron workspace can see, approve or use it.
https://vertexaisearch.cloud.google.com/oauth-redirectStep 4: Add Nexatron as a custom MCP server
In Gemini Enterprise, add a custom MCP server data store to your app and fill in the form with the values from step 3. Then select Verify Auth. Gemini Enterprise opens Nexatron’s sign-in; in a workspace that uses single sign-on, you go straight to the company identity provider. Name the data connector and create it.
| Gemini Enterprise field | Value |
|---|---|
| MCP Server URL | https://api.nexatron.io/api/v1/mcp |
| Authentication | OAuth 2.0 |
| Authorization URL | https://api.nexatron.io/api/v1/oauth/authorize |
| Token URL | https://api.nexatron.io/api/v1/oauth/token |
| Client ID and Client Secret | From the workspace client in step 3 |
| Scopes | mcp:query mcp:read openid offline_access |
| Enable PKCE Support | On. Nexatron requires PKCE. |
| Use HTTP Basic Authentication | On, the default. Nexatron also accepts the secret in the form body. |
| Authorization URL Parameters | Optional. If you set an audience, use the MCP server URL exactly. |
Step 5: Enable the tools and sign in as a user
Open the new data store, go to Actions and select Reload custom actions. Gemini Enterprise lists Nexatron’s tools, all disabled. Enable the analytics tools your users need: ask, list_sources, list_metrics, explain_metric, query_metric, compare_metric_across_sources and audit. Leave the action tools off for a first rollout. Then make the connection available to the pilot group; in the Business edition, a Google Workspace administrator with the Gemini Enterprise management privilege enables it.
Each pilot user then opens the Gemini Enterprise assistant, turns on Nexatron and signs in once. Gemini Enterprise asks users to confirm any tool that is not marked read-only, and Nexatron marks its analytics tools read-only, so ordinary questions run without an extra prompt.
Have the two pilot users ask the same question first. If their answers differ exactly where their Salesforce and Snowflake access differs, the setup is right.
How Salesforce and Snowflake permissions carry through
Gemini Enterprise never sees a Salesforce or Snowflake credential. It holds a Nexatron token for the user, and Nexatron opens each source with that user’s own sign-in. Nexatron’s access rules apply on top and can only narrow what the source allows.
| Control | What happens when the user asks in Gemini Enterprise |
|---|---|
| Salesforce sharing rules and role hierarchy | Records the user cannot see in Salesforce are absent from the answer. Two managers asking for pipeline get their own territories. |
| Salesforce field-level security | Fields hidden from the user’s profile or permission sets are not returned. |
| Snowflake role grants | Objects the user’s role cannot read return an authorization error, exactly as in Snowsight. |
| Snowflake row access and masking policies | Rows are filtered and masked columns stay masked for the user’s role. |
| Nexatron access rules | Row rules and column masking set in the workspace apply on top and never widen source access. |
| Workspace sign-in rules | Users on your SSO domains come through your identity provider, and a workspace that requires two-step verification refuses a password-only sign-in. |
Questions to start with
Start with one system and one period, check the result against a report you already trust, then try a question that joins the two. Nexatron queries each system with the user’s access and combines the results inside your workspace, and the answer says how many records matched.
- SalesWhich commit opportunities over $100,000 have had no activity in two weeks, by owner?
- FinanceWhat was closed-won amount by region last fiscal quarter, and how does it compare with the same quarter last year?
- ProductWhich accounts’ weekly active users dropped more than 20% month over month, from the Snowflake usage tables?
- Customer successFor accounts renewing next quarter in Salesforce, what is weekly active usage in Snowflake?
- Data teamExplain the definition behind net revenue retention, then run it for the last four quarters.
Revoking access
- One userIn Nexatron, Settings ▸ Connected AI apps ▸ Disconnect. That user’s Gemini Enterprise tokens stop working on the next call.
- The whole workspaceDelete the workspace client and every token it issued stops working at once. To replace a leaked secret without disconnecting anyone, rotate it and paste the new secret into Gemini Enterprise.
- LeaversOffboarding, including SCIM deprovisioning, revokes all of the user’s MCP tokens, and reactivating the user does not bring them back.
- Gemini Enterprise sideA Gemini Enterprise administrator can delete the custom MCP server data store to remove Nexatron from the app.
Troubleshooting
Never switch to an administrator account to make a failing question work. It hides the fault and puts data in a conversation that should not have seen it.
| Symptom | Likely cause and fix |
|---|---|
| The data store cannot be created | The custom MCP server constraint is still enforced, or a restricted project does not allow custom_mcp and the Nexatron host. |
| Verify Auth fails with invalid_target | An authorization URL parameter names an audience other than the MCP server URL. Use the URL exactly or remove the parameter. |
| Client authentication failed | The secret is wrong or was rotated. Copy a new one from the workspace client. |
| This connector was set up by a different Nexatron workspace | The user signed in to another workspace. Each workspace creates its own client. |
| SSO_REQUIRED | The user tried a password on an address that signs in through SSO. Sign in through the identity provider. |
| Salesforce: app not found | Wait up to 30 minutes after creating the External Client App, and check the My Domain URL on the connection. |
| Snowflake: object does not exist or not authorized | The user’s role lacks USAGE or SELECT. Check the user’s role, not the setup role. |
FAQ
- Do we need a separate connector for Salesforce and for Snowflake in Gemini Enterprise?No. One custom MCP server reaches every system your Nexatron workspace connects, so adding a third system later is a change in Nexatron, not in Gemini Enterprise.
- Do we need SSO?SSO is optional. Users can sign in with Salesforce’s and Snowflake’s own sign-in pages, or through the company identity provider if it has one.
- Can Gemini Enterprise change records?Questions are read-only. Action tools are separate, start disabled in Gemini Enterprise, and need a workspace administrator to turn on write-back for a connection.
- Does the same setup work in Gemini CLI?Yes, with a simpler sign-in. Gemini CLI adds the server URL with httpUrl, runs /mcp auth nexatron and registers itself, so it needs no workspace client.
- What does it cost?Snowflake bills the warehouse credits your questions use. For Nexatron pricing, contact sales.
Claude is a trademark of Anthropic, PBC.
Bring three business questions
Explore your sources, definitions, and review criteria with our team. Please keep credentials and sensitive records out of the inquiry.