Skip to main content

Turn on AI connectors and set the policy

AI connectors start switched off. An admin with Manage AI Connectors turns them on and decides, once for the whole workspace, the most any AI connection may do.

Turn AI connectors on

  1. Open the MCP settings

    Go to Settings → AI Connectors (MCP). While connectors are off, the top of the tab says AI connectors are off for this workspace.

  2. Switch them on

    Scroll to Workspace MCP policy and turn on Allow AI connectors.

  3. Review the policy and save

    Check the settings below, then choose Save at the top of the policy. Discard undoes unsaved changes.

The workspace policy

Allow AI connectors
The kill switch for the MCP server in this workspace. Off, nothing can connect and every existing key and connection stops working; nothing is deleted.
Allow CLI & desktop sign-in
Let OAuth clients that sign in through the computer they run on (Claude Code, the Gemini CLI) sign in through the browser, instead of only with a personal API key.
Allow admin tools
Offer tools for members, roles, security policies and the audit log. They still only work for members who hold those rights.
Raw SQL for AI clients
Off, or Policy-gated: raw SQL and Python are allowed except on any connection where a row-level security rule covers the member. AI clients can never be given unrestricted raw SQL.
When an AI creates or changes something
Create private drafts directly lets an AI create charts, dashboards and the like as private drafts straight away. Choose the stricter option to make every change wait for approval. Either way, risky changes (sharing, deleting, sending to others) always need approval.

Toolsets and access levels

Toolsets AI connections may use here
The most any key or connected app can hold, whatever its owner asks for and whatever their role allows. Turning one off stops it for every connection at once; nothing is deleted, and turning it back on restores it.
Access levels AI connections may hold here
Read, Write and Admin (Admin also needs Allow admin tools).
Toolsets on by default for new connections
What a new key or app starts with. Out of the box: Core, Charts, Dashboards and Schedules. People can add more, up to the workspace's and their role's limit.

What each toolset contains is in Tools and prompts reference.

Limits and lifetimes

SettingWhat it doesRange
Extra allowed client hostsRedirect hosts allowed for sign-in besides Claude, ChatGPT and Gemini, comma-separated. Add your own agent's host here.
Domains AI-made reports may go toEmail domains AI-created reports may be sent to. Your own domain is always allowed; sending anywhere outside it still needs approval.
Turned-off toolsTool names AI clients may not call here, comma-separated, such as run_sql, share_dashboard.
Tool calls per connection per dayA daily cap for each key or app. 0 means no cap.0 – 1,000,000
Personal key lifetime (days, max)The longest a new personal API key may last.1 – 365 days
Sign-in token lifetime (minutes)How long a signed-in client's access token lasts before it's renewed.5 – 1,440 minutes
Stay signed in for (days)How long a connected app stays signed in without you signing in again.1 – 90 days

Who may connect

The policy sets the workspace's ceiling; each role then decides what its members' AI connections may have:

PermissionAllows
Connect AI ClientsConnecting a client or creating a personal API key at all. Includes the Core toolset and Read access.
AI toolset: ChartsOne permission for each toolset beyond Core: Charts, Dashboards, Schedules, Workflows, Semantic layer, Data context, Warehouse, Raw SQL & Python, Delete & restore, Workspace admin.
AI may change thingsThe Write access level.
AI may use admin toolsThe Admin access level (the workspace must have admin tools turned on).
Manage AI ConnectorsChanging this policy, and seeing or revoking every member's connections.

Admins hold all of them. Give the rest per role in Members and roles.

OAuth clients (Gemini Enterprise)

Claude, ChatGPT and the CLIs register themselves when they connect. A few products, such as Gemini Enterprise, need a client ID and secret created in advance.

  1. Create the client

    Under OAuth clients, choose New client. Enter a Name, the product's Redirect URIs (one per line), and how the client sends its secret, then choose Create client.

  2. Copy the ID and secret

    Copy the client ID and secret into the other product, such as a custom MCP connection in Google Workspace. The secret is shown once; rotate it later if you need a new one.

Each OAuth client can only connect to this workspace.

Every connection in the workspace

Further down the tab, admins see All connections: every member's personal keys and connected AI clients, with when each was last used. Revoke any of them; it stops at once. AI changes lists what AI clients created, changed or deleted, with Undo; see Approvals, undo and AI activity.

Turn it off in an emergency

Turn off Allow AI connectors and save: every key and connection in the workspace stops immediately. To stop only part of it, turn off a toolset, add a tool to Turned-off tools, or revoke one connection. You can also switch AI connectors off entirely under Workspace features.

See what happened

Open AI Activity, at the bottom of the tab, lists every call AI clients and Insight AI made, including refused ones.