Connect Claude
Add Sanda to Claude as a custom connector for each workspace, choose what Claude may do, and check that it works. Claude Code and the Claude API use a token.
Claude on the web and Claude Desktop connect to Sanda as a custom connector. You paste your workspace's address, sign in to Sanda, and choose what Claude may do. There is no key to copy and nothing to store. If you belong to several workspaces, you add a connector for each (see connect more than one workspace).
Claude Code and the Claude API are set up once by a person and then used by a machine, so they hold an integration token instead. Both are covered below.
Before you start
- Your workspace is on any edition, or on a trial. MCP is included on every edition, Basic too. See editions.
- You are a member of the workspace. Any role except reader can connect Claude to ask questions. Only an owner or admin can grant the permissions that write, run SQL or send email. A person with the reader role cannot connect anything.
- Something is on the map. Claude answers from the semantic model, so it needs at least one table there, and a metric to be useful. Intelligence · Agents shows a Harness panel that tells you which of these is missing.
- Your Claude plan allows custom connectors. If your Claude organisation is managed by an administrator, they may need to add the connector for the organisation first.
Connect Claude on the web or in Claude Desktop
Menu names in Claude change from time to time, so look for the connectors section of Claude's settings. What you need is a name for the connector and Sanda's address.
-
Copy your workspace's address. In the console, open Settings · Integrations and press the copy button beside MCP endpoint. Each workspace has its own address, ending in its short name (the slug shown in Settings · Workspace):
Text https://console.sanda-os.com.au/api/mcp/acme-services -
Add a custom connector in Claude. Open Claude's settings, go to its connectors, and choose to add a custom connector.
-
Name it and paste the address. Give it a name that says which workspace it reaches, such as
Sanda Acme, and paste the address. You do not need a client ID or a secret. If the form offers advanced settings for them, leave them empty. -
Connect. Claude opens Sanda in a browser tab. If you are not signed in to Sanda, sign in first. You come back to the consent screen on your own afterwards.
-
Read the consent screen and choose what Claude may do (below).
-
Press Allow. Claude takes you back and the connector shows as connected.
The consent screen
The screen has one job, which is to ask you a clear question. It is deliberately bare, with no console navigation around it.
| Part | What it tells you |
|---|---|
| The heading, which is the app's name followed by "wants to use your Sanda data" | Which app is asking, and the account you are signed in as. Only you can approve it, and you can disconnect it later under Settings · Integrations |
| It will be sent back to | The web address Sanda will return your browser to when you finish. Check it belongs to the app you started from |
| Which workspace | The one workspace this grant reaches: the workspace whose address you pasted, with a note that the grant reaches it and no other. You cannot change it here. If you connected with the plain address (below), and you belong to several workspaces, you pick one |
| What it will be able to do | One tick box per permission, each written as a sentence |
The reading permissions are ticked: asking questions and, if the app asked for it, seeing connections and warehouses. Every permission that writes, runs SQL of its own or starts something starts unticked, and you tick only what the job needs. Tick all, beside the heading, ticks every permission you can grant at once; once they are all ticked it reads Untick all and clears them. If you are not an owner or admin, the permissions that only an owner or admin can grant are greyed out with the note "Only a workspace owner or admin can grant this. It will be left out."
The note under the tick boxes follows what is ticked. While everything ticked only reads, it says the app can write nothing. Tick a permission that changes something (committing SQL, changing what is modelled, loading or adding rows, defining views, managing search, emailing reports or starting syncs) and the note says so instead, naming each one, with a warning sign beside it.
Press Allow followed by the app's name to approve, or Refuse to stop. Allow stays disabled until a workspace is chosen and at least one thing is ticked.
Start with the defaults. You can connect again later with different permissions: approving the same app again for the same workspace replaces the earlier grant. Connecting it to your CRM, at the CRM's own address, is a separate grant and never replaces this one. To widen what Claude may do, disconnect the connector in Claude, add it again, and tick more on the consent screen.
Connect more than one workspace
Claude holds one connector for each address, and each workspace has an address of its own. So to use several workspaces from Claude, you add Sanda once for each, and each connector reaches its own workspace and no other.
- Move to the other workspace in the console, from the workspace menu. See move between workspaces.
- Copy its address from Settings · Integrations, beside MCP endpoint. It ends in that workspace's short name.
- Add another custom connector in Claude with that address, and a name that says which workspace it is.
- Connect and press Allow. The consent screen names that workspace, and only that one.
Each connector is a separate grant, so approving one never replaces another, and each is listed and disconnected in its own workspace's Settings · Integrations. In a conversation, switch on the connectors for the workspaces you want Claude to use.
The plain address, https://console.sanda-os.com.au/api/mcp, still works: the consent screen asks which workspace, and the connector reaches the one you pick. Claude can hold only one connector at it, so use the workspace addresses if you want more than one.
Check that it works
- Start a new conversation in Claude and make sure the Sanda connector is switched on for it.
- Ask a question of your data. For example: "What metrics does Sanda have?" Claude should call
search_fluidand list what your workspace has modelled. - Open Intelligence · Agents in the console. The connector appears under Agents as a connected app, and the call appears under Activity within about ten seconds. The Sessions tab refreshes itself every 10 seconds while you watch it.
If Claude says it cannot see any metrics, read the Harness panel first. The commonest cause is that definitions are waiting for review: an assistant sees only what has been accepted.
Connect Claude Code
Claude Code holds an integration token. An owner or admin creates one, then you add Sanda as a remote server:
claude mcp add --transport http sanda-acme https://console.sanda-os.com.au/api/mcp/acme-services \
--header "Authorization: Bearer bat_your_token_here"The console shows this command with your new token, your workspace's address and a server name made from its short name already filled in, once, when you create the token.
To add a second workspace, create a token in that workspace and run its command too. Each has its own server name, so the two sit side by side. A token works only at its own workspace's address, and at the plain address.
Connect the Claude API
To give a Claude API request access to Sanda, add Sanda to the request's mcp_servers and add a matching toolset:
{
"mcp_servers": [
{
"type": "url",
"url": "https://console.sanda-os.com.au/api/mcp/acme-services",
"name": "sanda-acme",
"authorization_token": "bat_your_token_here"
}
],
"tools": [{ "type": "mcp_toolset", "mcp_server_name": "sanda-acme" }]
}The MCP connector is a beta feature of the Claude API, so the request also needs its beta flag. Check Claude's documentation for the current name.
Disconnect Claude
To end access, open Settings · Integrations. A connected app is listed with the label "connected app", who connected it and when it was last used. Press Disconnect. The next call Claude makes fails. Removing the connector inside Claude does not by itself tell Sanda, so disconnect it here too.
Owners and admins see every member's connected apps and can disconnect any of them. Everyone else sees their own.
A connection also stops when the person who approved it leaves the workspace. If they stay but are no longer an owner or admin, the permissions that need one are ignored and the row is marked "permissions inactive". Everything else it holds still works.
If it does not connect
| You see | Why | What to do |
|---|---|---|
| "This workspace requires two-step sign-in" on the consent screen | The workspace you chose asks every member to set up two-step sign-in, and you have not. This applies to the workspace you connect, even if you are signed in to a different one | Set up an authenticator app in the console, then connect again |
| "Your access to this workspace is to its reports portal, so it cannot be connected to an assistant" | Your role is reader | Ask an owner or admin to connect it, or to change your role. See members and roles |
| The consent screen says the app "is connecting to the address of the workspace" and that you aren't a member of it | The address you pasted is for a workspace you don't belong to, or you are signed in to Sanda as somebody else | Sign in as a member of that workspace, or copy your own workspace's address from Settings · Integrations and add the connector again |
| The consent screen says the workspace "is closed, so it can't take a new connection" | The workspace whose address you pasted has been closed | Reopen it, or connect another workspace. See close or delete |
| "That token is for a different workspace than this address" | The token or connection was made for another workspace than the address it is used at | Use the address of the workspace the token was made in, or create a token in this workspace |
| "That redirect address is not one this client has registered" | The app asked Sanda to send you somewhere it never registered, so Sanda refused | Close the tab and start again from the app. Nothing was granted |
| "That authorization request has expired" or "has already been answered" when you press Allow | The consent screen was open too long, or the request was already allowed or refused in another tab | Start again from your app. Nothing was granted |
| Claude connects but a tool is missing | The tool needs a permission you did not tick | Disconnect, connect again and tick it. Permissions that write need an owner or admin |
| Claude connects but finds no metrics | Nothing on the map, or definitions still waiting for review | Check Harness on Intelligence · Agents, then review proposals in the semantic model |
More help is in troubleshooting.
Next steps
Something unclear or out of date? Tell us, and we will fix the page.