Connectors for Enterprise apps
Status: being rolled out, not available yet. This page describes connectors as sota is rolling them out. Until they are switched on, the paths on this page (
/.sota/claude.js,/.sota/connect/…) do not exist on your apps and the dashboard shows no Connectors pages. Your AI assistant sees the state inget-account(it says "Not switched on yet" until then); you can also ask us.
In claude.ai, an artifact can use the viewer's connectors: Notion, Linear, Jira and other services the person connected in Claude. A sota Enterprise app can do the same. The app keeps its connector calls as they are, loads one script from sota, and sota connects each colleague to the company's connectors with their own account. The app and its server never see a password or a token.
sota cannot reuse the connections a person made in claude.ai: Claude keeps those for itself. So on sota each colleague connects each connector once, the first time an app needs it.
This page has four parts: for the colleague who built the artifact, for the owner, for AI assistants and security, limits and codes.
How it works
- The app's page loads
/.sota/claude.jsfrom its own address. The script gives the pagewindow.claude.use("mcp")andwindow.claude.use("user"), the same interface as in claude.ai. - A connector call from the page goes to sota, on the app's own address, behind the company sign-in. sota knows who is signed in.
- sota checks that the owner allowed this connector and tool for this app, and that this person agreed. Then sota calls the connector's server (a public MCP server) with that person's own connection and returns the result to the page.
- The connections are stored at sota, encrypted. They never reach the browser or the app's container.
For the colleague who built the artifact
You built a small app in claude.ai that uses connectors, and you want your colleagues to use it as a company app.
- Ask your AI assistant to move it. Connect Claude to sota (MCP setup) and ask: "Put this artifact on our sota Enterprise account as a new app, with its connectors." Give it the artifact's code. The assistant follows the rules below.
- Tell the owner what the app needs. After the deploy the assistant lists the connectors and tools the app asks for and what is still missing. Pass this to the owner of your sota account or an admin. Only they can register connectors and allow them for an app; the assistant cannot.
- Open the app. The app lives at
https://<app>.yourcompany.sota.io, behind your company's Microsoft 365 sign-in like every Enterprise app. People who may open it are chosen under Users & access, as for every app. - Connect once. The first time the app uses a connector for you, a small sota box appears in the page: it names the app, the connector and the tools, and marks tools that can change data. Click Continue. A pop-up opens on your company's connect page,
https://connect.yourcompany.sota.io, behind the same company sign-in. Click Allow, then sign in to the connector itself (for example Notion). The pop-up closes and the app carries on. If your browser blocks the pop-up, the box shows a link instead. - Change your mind at any time. Open
/.sota/connect/myon any of your company's apps (it opens My connections on the connect page). There you see what you connected and which apps may use it, and you withdraw an app or disconnect a connector. It takes effect on the app's next call.
If you click Not now, nothing is connected and the app gets a "consent required" answer; it asks again later. A connector the owner set up with one shared company credential does not ask you at all.
For the owner: set up and allow
The owner of the sota Enterprise account and its admins manage connectors in the sota dashboard. API keys, team keys and AI assistants cannot change them.
1. Register the company's connectors
Under Connectors in the dashboard menu (also reachable from the Enterprise page), click Add connector for each connector the apps use:
| Field | What to enter |
|---|---|
| Name | The connector's display name as in claude.ai (for example Notion). Artifacts call connectors by this name, so it has to match. Up to 64 characters; names are unique per account, upper and lower case and extra spaces do not count. |
| Other names (optional) | Up to 10 aliases apps may use for the same connector. |
| MCP address | The connector's MCP server address, https://… (Streamable HTTP). Only public addresses on port 443 or 80 are accepted; addresses inside private networks are refused. |
| Sign-in | Each person signs in (OAuth): each colleague connects with their own account. One shared credential: one bearer token or header value for the whole account, meant for your company's own MCP servers. sota stores it encrypted and shows only a hint of it afterwards. |
For a per-person connector, sota needs to be a known client of that service. It tries, in this order: a client ID and secret you entered under Client registered with the vendor, sota's client metadata document, then the service's own client registration. When the service accepts none of them, the dashboard says so and shows the two addresses below: create an OAuth app at the vendor with exactly these values and enter its client ID and secret:
| What the vendor asks for | Value |
|---|---|
| Redirect URI (callback URL) | https://connect.sota.io/oauth/callback |
| Client ID metadata document (only if the vendor asks for one) | https://connect.sota.io/oauth/client-metadata.json |
The redirect URI is the same for every company and every app. The vendor must match it exactly.
Which services need what
At the time of writing (December 2026), from the services' published sign-in settings. sota has not tested every one of them, and a vendor can change its rules at any time: this is no promise for any third-party server.
| Service | What it takes |
|---|---|
| Notion, Linear, Stripe, Zapier | Nothing beyond registering it: sota registers itself as a client. |
| Atlassian (Jira, Confluence) | Your Atlassian site admin adds sota's domain (the host of the redirect URI above) to the allowed domains in the settings of Atlassian's MCP server. |
| Microsoft 365 | An app registration in your Microsoft Entra ID with the redirect URI above, delegated permissions and admin consent; Microsoft also requires a Microsoft 365 Copilot licence for its MCP servers. |
| Google Workspace | An OAuth client of type "Web application" in your Google Cloud project, with the Workspace MCP services switched on and the client marked for use by an AI-powered agent; restricted Gmail or Drive scopes for users outside your organisation can also need Google's app verification. |
| GitHub, Slack, HubSpot, Asana | An OAuth app your company creates at the vendor (for Slack an internal app of your workspace), with the redirect URI above. |
| Anthropic's own connectors | Cannot be used outside claude.ai (for example Anthropic's Microsoft 365 connector). |
2. Test it
Test (for a per-person connector Test with my sign-in) lists the connector's tools, grouped as "Read only" and "Can change data" (as the server marks them). For a per-person connector a sign-in opens in a new tab and you sign in once yourself; sota drops that test connection afterwards.
3. Allow it per app
Nothing is allowed by default. On the app's project page, tab Connectors, you choose which connectors and tools this app may call, then Save. Read-only tools can be ticked all at once; each tool that can change data needs its own tick, which the dashboard confirms with you by name. When a deploy carried a sota.connectors.json, the tab shows "What this app asks for" (with connectors that are not registered and any problems in the file), and Use as starting point fills the list from it; the file never allows anything by itself. If a connector later changes a tool that can change data, which you ticked on its own, the tool shows "Changed: tick again" and the app cannot call it until you tick it again; read-only tools keep working when they change (a read-only tool that becomes able to change data stops until you tick it). Developers of the account see the tab read-only, with the steps that are still open.
4. See who is connected
On a connector's page, People connected lists who connected it, since when and for which apps (never a token), and you can disconnect anyone. You can also turn a connector off or delete it there. Withdrawals, disconnects and a block under Users & access take effect on the next call. Changing a connector's MCP address drops everyone's connection and consent and its tool list: test the connector again, and colleagues connect again.
For AI assistants: the rules word for word
The sota MCP server gives an assistant these rules in get-account and the enterprise-app-checklist prompt once sota has connectors switched on and the person owns or works in a sota Enterprise account (GET /v1/account answers "connectors_enabled": true). Build with your AI agent carries the same lines.
- Artifacts with connectors: a claude.ai artifact that calls
window.claude.use("mcp")runs as a sota Enterprise app with its calls unchanged. Keep the page and load<script src="/.sota/claude.js"></script>before the app's own scripts. It providesclaude.use("mcp")andclaude.use("user")with the artifact interface;use("mcp")resolvesnulluntil the owner allows at least one connector for the app. Every other capability resolvesnullon sota:sample,db,artifact,room,assets,files,comments,tts,dictation,desktopanddownloads. Keep the artifact's fallback for them; data the app must keep belongs in the app's own PostgreSQL database, through a small backend that usesDATABASE_URL. - Write
sota.connectors.jsonat the project root from the artifact's connector declaration:{"version": 1, "connectors": [{"server": "<name as in claude.ai>", "tools": ["<tool>"]}]}. Leave outtoolswhen the app does not say which; the artifact's owncapabilities.mcpdeclaration may be added as it is under"artifact". Use the connectors' display names from claude.ai: the owner registers the company's connectors on sota under the same names or as aliases. At most 20 connectors, 100 tools each and 64 KiB. The file asks; it never grants anything, and a problem in it never fails the deploy. - Deploy the page as a static app: a
Dockerfilethat serves the files on port 8080 (for examplenginx:alpinewithlisten 8080andEXPOSE 8080) and answersGET /healthwith 200. No API key, token or connector secret belongs in the page or in any uploaded file: sota holds every connection, and neither the page nor the app's container ever sees a connector token. - After the deploy,
deploy(after its wait),get-statusandget-connectorslist what the app asks for, what is allowed and, under "Still to do (tell the human)", what is missing, plus any problem sota found insota.connectors.json. Tell the human exactly those steps: the owner or an admin registers missing connectors (dashboard → Connectors) and allows them for this app (project page → Connectors tab); tools that can change data need their own tick, and such a tool stops working when the connector changes it, until it is ticked again (read-only tools keep working). MCP cannot do any of this. - Each colleague connects each connector that signs in per person once: the first call waits while sota's dialog asks in the page; Continue opens a pop-up on the company's connect page
https://connect.<label>.sota.io(behind the company sign-in), where the person allows it and then signs in to the connector itself. The waiting call then runs with that person's own account. If the person declines, or nobody answers for about 10 minutes, the call rejects withconsent_required; the app's code needs no change. A connector set up with one shared credential for the whole account asks nobody. Everyone sees and withdraws their own connections under My connections (/.sota/connect/myon any of the company's apps). - Codes and results are those of the artifact runtime: a call outside the app's allow list rejects with
not_in_manifest, a tool the person has not agreed to yet brings up sota's dialog first (declined:consent_required), an unknown connector name rejects withserver_not_connected, a connector the owner turned off withblocked_by_policy, a lapsed sign-in the person did not renew withneeds_reauth, and sota's own rate limit withrate_limited; results are the artifact envelope (content,structuredContent,payload). Render connector content as text or with the app's own escaping: it comes from a third party. - Not supported yet: asking Claude from the page (
sample), file arguments ($file, rejected withcapability_disabled), calls to connectors from the app's backend (only the app's pages call them), and MCP servers that are only reachable inside the company network. A connector is a public MCP server reached over HTTPS. - What still breaks a converted artifact, and the fix: a chat artifact's flat
window.claude.complete(…)does not exist on sota and throws, so move model calls to the app's backend. Load the script as a plain classic<script src="/.sota/claude.js"></script>in<head>, withoutasync,deferortype="module", sowindow.claudeexists before the app's own code runs, and reach connectors only throughawait claude.use("mcp"), neverwindow.claude.mcp. An app Content-Security-Policy needsimg-src data:for theuse("user")avatar. Do not sendCross-Origin-Opener-Policy: same-originfrom the app (it cuts the consent pop-up off from the page; sota's dialog then offers to open the page again). Errors are plain objects: teste.code, note instanceof Error. - At the time of writing, Notion, Linear, Stripe and Zapier let sota register itself as a client, so the owner only adds them; Atlassian works once the company's Atlassian site admin allows sota's domain. Microsoft 365, Google Workspace, GitHub, Slack, HubSpot and Asana need an OAuth app that the company creates once with the redirect URI
https://connect.sota.io/oauth/callback; the owner pastes its client id and secret. Anthropic's own connectors cannot be used outside claude.ai. A vendor can change its rules at any time, so this is no promise for any third-party server. Details: https://sota.io/docs/enterprise/connectors
From a Claude artifact to a sota app, step by step
- Call
get-account. Go on only if it shows the section "Artifacts with connectors". Otherwise tell the person that connectors are not available yet. - Create the project (
create-project), or use the app the person names. - Put the artifact's HTML into
public/index.html. If the artifact is a React component rather than a page, wrap it in a small page that renders it (for example a Vite build whose output goes topublic/). Add the script before the app's own scripts:
<script src="/.sota/claude.js"></script>
<script type="module" src="./app.js"></script>
- Write
sota.connectors.jsonat the project root. Take the names from the artifact's calls (callTool(server, tool, …),server(name)) or its connector declaration:
{
"version": 1,
"connectors": [
{ "server": "Notion", "tools": ["search", "fetch"] },
{ "server": "Linear" }
]
}
- Add a
Dockerfileandnginx.confthat servepublic/on port 8080 and answerGET /health:
FROM nginx:alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY public/ /usr/share/nginx/html/
EXPOSE 8080
server {
listen 8080;
root /usr/share/nginx/html;
location = /health { default_type text/plain; return 200 "ok\n"; }
location / { try_files $uri $uri/ /index.html; }
}
- Call
deploy. When the result says the deployment is still running, callget-statuswithwait_for: "finished". - Read the Connectors block of the result, or call
get-connectorswith the project id. Tell the person, word for word, the lines under "Still to do (tell the human)" and that the owner or an admin does them in the dashboard. Fix the file and deploy again when the block lists problems insota.connectors.json. - After the owner has allowed the connectors, call
get-connectorsagain. "Nothing left for the owner to allow" with every tool the app needs under "allowed" means the app can call them; a connector shown as "(no tool yet)" still needs its tools ticked. Each colleague then connects once when the app first calls a connector for them.
The status comes from GET /v1/projects/{projectID}/connectors (API reference); the SDK has getProjectConnectors(projectId).
Error codes
A rejected call rejects with a plain object with code, message and, where they apply, server, retryable, retryAfterMs and result, as in claude.ai's artifact runtime. sota uses these codes:
| Code | When |
|---|---|
consent_required | sota's dialog asked for a connector or tool the person had not agreed to yet, and they clicked Not now or Cancel, or nobody decided for about 10 minutes. |
needs_reauth | The person's connection lapsed and they did not reconnect when asked. |
not_in_manifest | The connector or tool is not on this app's allow list (describeTool also answers it for a tool the person has not agreed to). |
server_not_connected | No connector with this name or alias is registered for the account. |
server_not_found | The connector's server says the endpoint is gone. |
blocked_by_policy | The owner turned the connector off, or sota refused the address (private network, wrong port). |
not_granted | The person no longer has access to this app under Users & access (for example it was removed after the page loaded); show the app's behaviour without connectors. |
capability_disabled | A file argument ($file), which is not supported, or connectors or connecting are not available on this host. |
bad_request | The request is malformed: input that is not a plain JSON object or is too large, names that are too long, a tool without a stored schema, or watchTool on a tool that can change data (or more than 64 watches). |
tool_error | The tool itself reported an error; result holds its answer. |
rate_limited | sota's own limit (below), or too many connection starts; retryable with retryAfterMs. |
server_unavailable | Network error, timeout, the server or its sign-in answered 5xx or 429, or sota itself could not answer just then; retryable. |
upstream_error | Anything else from the server. With retryable when sota could not ask the person just then (for example the pop-up was closed). |
cancelled | The page aborted the call (signal). |
user_changed | The session ended or another person is signed in now; the page reloads once. |
sota never answers selection_required, approval_required, self_only, capability_removed or transform_error: names are unique per account, there is no per-call approval, and there are no Claude-owned connectors on sota.
Limits
- 60 calls per minute per person and app, 600 per minute per account.
- 1 MiB of input per call, 2 MiB per answer from the connector, 30 seconds per call.
- Consent is per person, app, connector and set of tools: when an app may call a new tool, the person is asked again.
watchToolpolls at most every 30 seconds; results the script caches stay in the page's memory only.- Up to 20 connectors and 100 tools per connector in
sota.connectors.json, 64 KiB per file.
Security
- No token reaches the app or the browser. sota stores each person's connector connection encrypted, with its own key, in the sota platform database in Germany. Calls to the connector's server go from sota, never from the browser or the app's container.
- The binding click happens on sota's page. The box in the app only offers the step; the person allows on the connect page of your account, which runs no app code, cannot be framed, and accepts only the signed-in person whose request it is.
- Default deny. An app calls only what the owner allowed for it, and only what each person agreed to. Tools that can change data need their own tick.
- Audit without content. Every call is recorded with account, person, app, connector, tool, result code, duration and size, never its arguments or results. These records are kept 90 days.
- Outgoing checks. sota reaches connector servers only over HTTPS on public addresses (ports 443 or 80), checked at registration and on every call.
- The connector's own data protection applies. What a connector returns comes from its vendor, which may process data outside the EU; that is between your company and the vendor, as it is in claude.ai.
- Treat connector content as untrusted. It comes from a third party: show it as text or escape it, as the artifact runtime asks.
Read on: build with your AI agent, network, known limits, MCP tools.