Claude Code Enterprise

How Claude Code Enterprise works for teams: SSO/SAML setup, usage policies, admin controls, audit logs, and how it differs from individual Pro and Max plans.

💥 50p impulse-buy: Power Prompts PDF (first 10 buyers) 30 battle-tested Claude Code prompts · 8-page PDF · paste into CLAUDE.md and never re-type a prompt again · 50p impulse-buy, no commitment

Claude Code Enterprise gives engineering teams the administrative controls, compliance documentation, and usage governance that individual plans can't provide. This guide covers the key differences and how to set up an Enterprise deployment.

Plan comparison

FeaturePro ($20/mo)Max ($100/mo)Enterprise
Usage limitsStandard5× standardNegotiated (unlimited options)
API key managementPersonalPersonalAdmin-managed, per-team keys
SSO / SAMLNoNoYes — Okta, Azure AD, Google Workspace
Audit logsNoNoYes — full tool-call audit trail
Usage dashboardsPersonal onlyPersonal onlyTeam and org-level dashboards
Custom data retentionNoNoYes — 0, 30, or 90-day options
SOC 2 Type II docsNoNoYes
Dedicated CSMNoNoYes (10+ seats)
Bedrock / Vertex routingNoNoYes — run via your cloud account

Org-wide CLAUDE.md policy

The most practical Enterprise control is distributing a managed CLAUDE.md that applies to every developer. Create it at ~/.claude/CLAUDE.md and deploy via your MDM (Jamf, Intune, etc.) or onboarding script:

# ~/.claude/CLAUDE.md  (org-wide policy, deployed via MDM)

## Security rules (mandatory — do not override)
- Never read or output contents of .env, *.pem, *.key, or credentials.json
- Never run git push --force on main or master
- Always confirm before deleting files outside the current project directory
- Do not access URLs outside *.internal.mycompany.com and known public APIs

## Code standards
- Python: use ruff for linting, pytest for tests
- TypeScript: strict mode, no `any`
- All new code requires a test file in the same PR

## Allowed tools
- Shell: git, npm, yarn, pytest, ruff, docker (read-only)
- Do NOT run: curl to external hosts, pip install from non-approved sources

Project-level CLAUDE.md files in each repo can extend but not override the org policy — Claude Code reads both in order.

Admin API key management

In Enterprise, the org admin creates team-scoped API keys in the Anthropic console:

# Admin creates a key with spend cap and team tag
# anthropic.com/console → Settings → API Keys → New Key
# Set: monthly_spend_cap=$500, team=backend-eng, expires=2027-01-01

# Distribute via env var in your secrets manager (not hardcoded):
# AWS Secrets Manager:
aws secretsmanager create-secret   --name prod/anthropic/api-key   --secret-string '{"key":"sk-ant-..."}'

# Developers pull the key at shell startup (~/.zshrc):
export ANTHROPIC_API_KEY=$(aws secretsmanager get-secret-value   --secret-id prod/anthropic/api-key   --query SecretString --output text | jq -r .key)

Audit log structure

Enterprise audit logs record every tool call Claude Code makes, exported as JSON:

{
  "timestamp": "2026-05-19T09:14:22Z",
  "user": "alice@mycompany.com",
  "session_id": "sess_abc123",
  "tool": "Edit",
  "file": "src/payments/processor.py",
  "lines_changed": 14,
  "project": "payments-service",
  "branch": "feature/gateway-refactor"
}

Audit logs ship to your SIEM (Splunk, Datadog, CloudWatch) via webhook. Common use cases: compliance evidence for SOC 2 audits, detecting accidental credential access, chargeback by team.

Network restrictions (allowlist mode)

Enterprise allows you to restrict Claude Code's shell access to an approved URL allowlist. Useful for regulated environments:

# /etc/claude-code/network-policy.json  (managed via MDM)
{
  "outbound_allowlist": [
    "api.anthropic.com",
    "*.internal.mycompany.com",
    "registry.npmjs.org",
    "pypi.org"
  ],
  "block_on_violation": true,
  "log_attempts": true
}

SSO setup (Okta example)

  1. In the Anthropic admin console: Settings → SSO → Add Provider → SAML 2.0
  2. Copy the Anthropic SAML entity ID and ACS URL.
  3. In Okta: create a new SAML app, paste the entity ID and ACS URL.
  4. Map the Okta attribute emailuser.email and groupsuser.groups.
  5. Paste the Okta metadata XML back into the Anthropic console.
  6. Enforce SSO: Settings → SSO → Require SSO for all org members. Developers must log in via Okta; personal email login is blocked.

For running Claude Code in cloud infrastructure without individual developer authentication, see Claude Code on AWS Bedrock. For headless/CI use cases, see Claude Code headless mode.

Frequently asked questions

What is Claude Code Enterprise?
Claude Code Enterprise is Anthropic's team and organization tier for Claude Code. It adds SSO/SAML, centralized billing, usage dashboards, policy controls (allowed tools, network restrictions), and a dedicated CSM. It is priced per-seat and requires contacting Anthropic sales.
How does Claude Code Enterprise differ from Max plan?
Max plan ($100/mo) is a personal subscription with 5× usage limits. Enterprise adds organizational controls: SSO, admin-managed API keys, per-team usage quotas, audit logs of Claude actions, custom data-retention policies, and SOC 2 Type II compliance documentation.
Can I enforce a CLAUDE.md policy for my whole org?
Yes — with Enterprise you can distribute a managed CLAUDE.md via your MDM or onboarding script. Each developer's ~/.claude/ directory loads the org-wide CLAUDE.md first, then project-level files. This enforces security rules (no credential access, allowed shell commands) across all seats.
Does Claude Code Enterprise support on-premises deployment?
Claude Code itself runs on developer machines and calls Anthropic's API. For on-premises or air-gapped requirements, Anthropic offers Claude Code via AWS Bedrock or Google Cloud Vertex — the model runs in your cloud account and data doesn't leave your VPC.
How do I get a Claude Code Enterprise quote?
Contact Anthropic sales at anthropic.com/contact-sales. Typical Enterprise contracts start at 10+ seats. Anthropic also offers a 30-day team pilot for evaluation.

Free tools

Cost Calculator → API Cookbook → Diff Summarizer → Skills Browser →

More examples

Claude API Python QuickstartClaude API Node.js / TypeScript QuickstartClaude API Streaming in PythonClaude API Streaming in Node.js / TypeScriptClaude API Tool Use in PythonClaude API Tool Use in Node.js / TypeScript