Claude API Enterprise SSO Integration Setup Guide
What "Claude API enterprise SSO integration" actually means
If you're searching for this, you're probably trying to solve one of two different problems, and it's worth separating them before you build anything. The Claude API itself (api.anthropic.com) authenticates every request with an API key in the x-api-key or Authorization header — there is no SSO handshake at the API call level, and there never will be, because API keys are machine credentials, not user identities. SSO lives one layer up: it controls who can log into the Anthropic Console to create, view, or revoke those API keys, and in Enterprise plans it can enforce SAML/OIDC login and SCIM-based deprovisioning for the humans on your team.
So "setting up enterprise SSO for the Claude API" really means configuring identity-provider-backed access control around key management, not around the API traffic itself. If your actual goal is "I need my team to use Claude without sharing one raw API key and I need to see who used what," you have two realistic paths: negotiate Anthropic's Enterprise tier for Console-level SAML, or put a thin, per-user access layer in front of a single API key. Below is how both work.
Why this matters even for small teams
Sharing one sk-ant-... key across a team creates three problems regardless of company size:
- No deprovisioning path. When someone leaves, you either rotate the key for everyone or leave a stale credential active.
- No attribution. You can't tell which request came from which engineer, feature, or customer-facing service.
- No seat-level billing control. Usage and cost get lumped into one bucket.
Enterprise SSO solves the login side of this at the Console level. It doesn't automatically solve attribution or per-seat keys — that's a separate access-control layer you still need to build or buy.
Setting up SSO on the Anthropic Console (Enterprise tier)
If you're on Anthropic's Enterprise plan, Console-level SSO follows the standard SAML 2.0 / OIDC pattern:
- Verify your domain with Anthropic so Console logins can be scoped to your organization.
- Register your Identity Provider (Okta, Azure AD, Google Workspace, OneLogin, etc.) as a SAML or OIDC app pointing at the Console's ACS URL and entity ID, provided by your Anthropic account team.
- Map attributes — email, name, and role claims — so Console permissions (admin, member, billing) align with your IdP groups.
- Enable SCIM provisioning if supported on your contract, so adding/removing users in your IdP automatically creates or disables their Console access.
- Test with a non-admin account before enforcing SSO org-wide, so you don't lock out your own admins.
- Enforce SSO-only login once verified, disabling password-based access to the Console.
This gets you centralized identity control over who can manage API keys. It does not give individual developers individual API credentials by default — most Enterprise Console setups still issue a shared pool of keys that admins distribute manually, which brings you back to the attribution problem above.
The practical alternative: per-user API access without an Enterprise contract
Enterprise SSO contracts typically require a minimum seat count and a sales cycle. If you need per-person access control, usage visibility, and clean deprovisioning now, without that overhead, the simpler move is to put one access-control layer between your single Claude credential and your team.
This is the problem SubToAPI is built for. You connect your existing Claude access once, and SubToAPI issues individual sub_live_... application keys per teammate or per service, each independently revocable, with usage metadata tracked per key. It won't give you SAML into Anthropic's Console — that's Anthropic's product, not ours — but it solves the actual operational need most teams have: controlled, attributable, revocable access for a group of people hitting one underlying Claude plan.
Basic setup
- Sign up at /signup and connect your Claude access.
- Create a key per teammate or service from the dashboard.
- Invite teammates as seats (Solo is single-user; Team and Scale plans support multiple seats — see /pricing).
- Each person authenticates with their own key against the same unified API.
curl https://api.subtoapi.app/v1/messages \
-H "Authorization: Bearer $SUBTOAPI_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-4-5",
"max_tokens": 512,
"messages": [
{"role": "user", "content": "Summarize this quarter's support tickets."}
]
}'
const res = await fetch("https://api.subtoapi.app/v1/messages", {
method: "POST",
headers: {
"Authorization": `Bearer ${process.env.SUBTOAPI_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
model: "claude-sonnet-4-5",
max_tokens: 512,
messages: [{ role: "user", content: "Summarize this quarter's support tickets." }],
}),
});
When an engineer leaves, you revoke their key in the dashboard — no password reset ceremony, no shared-secret rotation across the whole team. See /docs/quickstart and /docs/messages for request formats, /docs/streaming for streamed responses, and /docs/tools if your workflows use tool calling.
Combining both layers
Larger organizations often run both: Anthropic Enterprise Console SSO governs who can administer the underlying Claude account and billing relationship, while a lighter per-key layer (whether that's internal tooling or SubToAPI) governs who on the engineering side can actually call the model day to day. The Console SSO layer protects the account; the key layer protects the traffic. Don't assume one replaces the other — they operate at different altitudes.
Checklist before you call it "done"
- Confirm whether your need is Console access control (identity) or API traffic control (attribution/billing) — they're solved differently.
- If pursuing Anthropic Enterprise SSO, get ACS URL, entity ID, and claim mappings from your account team before touching your IdP.
- Test SSO with a throwaway non-admin account first.
- If you need per-person API keys without an Enterprise contract, issue them through a layer like SubToAPI rather than distributing one shared key.
- Document your deprovisioning steps now, before you need them under time pressure.
questions
Does the Claude API support SSO authentication directly on API calls? No. Every API request authenticates with an API key, not an SSO session. SSO only controls login access to Anthropic's Console for managing those keys.
Do I need an Enterprise contract to get per-user access control? No. Enterprise SSO governs Console login for admins. For per-person API keys and usage attribution without a sales contract, a layer like SubToAPI issuing individual keys works day one.
What's the fastest way to deprovision someone's access? If they only had a Console login under Enterprise SSO, disable their IdP account (SCIM handles the rest if enabled). If they have a per-user API key, revoke that specific key in your dashboard — no need to rotate shared credentials.