Choosing the right Claude Code Integration
Last updated: October 9, 2026
Claude Code Integrations
Span supports three integration methods for Claude Code, each designed for different account types and organizational setups. All two integrations provide per-person metrics and sync on the same schedule - the key differences lie in which account types they support and how reliable the data collection is.
Choosing the Right Integration
API (Admin) | Enterprise API | |
|---|---|---|
Individual / personal accounts | ❌ | ❌ |
Organizations on Team plan | ❌ | ❌ |
Organizations on API plan | ✅ | ❌ |
Organizations on Enterprise plan | ❌ | ✅ |
Setup location | Span settings | Span settings |
Data reliability | ✅ Stable | ✅ Stable |
Can I use more than one? Yes. If you have both an API-based and an Enterprise accounts integration simultaneously, Span deduplicates the data automatically. For each person/date combination, Enterprise data takes precedence.
1. API (Admin) Integration
The API integration uses an Anthropic Admin API key to pull Claude Code usage reports directly from Anthropic's systems.
Best for:
Organizations on Anthropic's API plan — the most minimal team plan, with no per-seat license cost
Not supported for:
Individual/personal accounts
Users on any subscription-based plan (Team, Enterprise); those users will not appear in the data
Setup:
Generate an Admin API key from your Anthropic account settings
Navigate to Settings → Integrations in Span
Find Claude Code and click Connect
Enter your Admin API key and save
Key characteristics:
More reliable than OTel since data is pulled server-side from Anthropic
Supports historical backfill up to 1 year
Only covers users billed under the API plan—subscription users are excluded by design
2. Enterprise API Integration
The Enterprise API integration uses an Anthropic Analytics API key available exclusively to Claude Code Enterprise accounts.
Best for:
Organizations on a Claude Code Enterprise plan
Setup:
Obtain your Analytics API key from your Anthropic enterprise admin console
Navigate to Settings → Integrations in Span
Find Claude Code Enterprise and click Connect
Enter your Analytics API key and save
Key characteristics:
Most comprehensive coverage—no known limitations on which users appear in the data
Stable, server-side data pull (not dependent on developer machine configuration)
Supports historical backfill
Monitoring Your Integration
After setup, go to Settings → Integrations in Span. Each enabled integration displays a health indicator:
🟢 Green — data is flowing in successfully
Hover over the indicator to see the timestamp of the last data received
Questions?
If you're unsure which integration is right for your Claude Code setup, contact your Span rep and we'll help you determine the best configuration for your account type.