Claude
Discover users, track token usage, and monitor Claude and Claude Code activity across your organization via the Anthropic Admin API
Claude is Anthropic's AI assistant, used by organizations for coding, writing, analysis, and automation. Claude Code is Anthropic's agentic coding tool for software engineers. Connecting Claude to Harmony via the Anthropic Admin API gives IT teams visibility into AI tool adoption and spend - tracking who is using Claude and Claude Code, how much token capacity they're consuming, and when they were last active.
What the Claude integration enables
User Discovery
Surface all Claude users in Harmony's software inventory, including org admins and invited users
Token Usage Tracking
Monitor per-user token consumption across Claude and Claude Code
Cost Visibility
See estimated USD spend broken down by user and by individual API key
Activity Monitoring
Track login and usage activity to identify inactive seats
Multi-Instance Support
Connect multiple Anthropic organizations if needed
Prerequisites
Anthropic Organization Admin: Must be an admin of the Anthropic organization
Admin API Key: A key starting with
sk-ant-admin-(see below)Harmony Account: Active Harmony workspace
Only Admin API keys (starting with sk-ant-admin-) are supported. Regular API keys (sk-ant-api03-...) will not work. Harmony validates the key format as soon as you paste it and will alert you immediately if the wrong key type is used.
Connect Claude to Harmony
Step 1: Generate an Admin API Key
Go to Claude Console and sign in as an organization admin
Navigate to Settings > Organization > API Keys
Click Create Key
Select Admin as the key type, enter a name (e.g.
Harmony Integration), and click CreateCopy the key - it starts with
sk-ant-admin-and will not be shown again
Step 2: Navigate to Integrations
Log in to your Harmony dashboard
Go to Settings > Integrations
Find Claude under SaaS Applications and click Connect
Step 3: Enter Credentials
Paste your Admin API Key
Click Connect
Harmony validates the key format inline as soon as you paste it. If you have used a standard API key instead of an admin key, you will see an immediate warning before saving - preventing silent misconfigurations that could cause the integration to fail after setup.
How Claude instances appear in Harmony
If you have both a Console connection and a Claude Enterprise Analytics connection, Harmony distinguishes between them clearly in your inventory:
Your Console connection is labeled Claude
Your Claude Enterprise Analytics connection is labeled Claude.ai Enterprise
Both instances are grouped together under a single Claude application card. No configuration changes are needed - existing connections update automatically.
What Harmony Syncs
From Anthropic:
Users (name, email, role, account status) - including both org-level admins and accepted invited users
Per-user token consumption (Claude and Claude Code)
Per-API-key usage and estimated USD cost
Login and activity data
Workspace and organization membership
User visibility
Harmony pulls in your complete Anthropic user base from two sources:
Org admins - sourced from Anthropic's users endpoint
Accepted invited users - sourced from Anthropic's invites endpoint
Pending invites and users without an email address are automatically excluded. This means your full Claude user base is reflected accurately in Harmony, not just a limited subset of top-level administrators.
API key usage and cost breakdown
Claude API usage and estimated USD cost are tracked per individual API key, giving you granular visibility into how each key consumes your Anthropic budget. Each key is reported with its name and owner (email and display name). Costs are derived from Anthropic's rate table across model, service tier, context window, inference geography, and token type, reconciling to your organization's total spend.
Previously, cost data was only available at the organization level - now you can see exactly which keys are driving usage.
Estimated cost on instance users table
The Estimated Cost column on the instance users table shows each user's total estimated USD spend, sortable ascending or descending. Hovering over a cost cell shows a tooltip that breaks down spend by Claude model (for example, claude-3-5-sonnet, claude-3-opus), rounded to two decimal places.
Use Cases
Last updated
Was this helpful?
