Skip to content
Last updated

Anthropic integration

Anthropic is the developer of Claude, a family of large language models, and provides the Claude Platform for managing organizations, workspaces, members, invites, API keys, and usage/cost reporting through the Admin API. Integrating Anthropic with Frontegg allows your application to read and manage organization settings, workspaces and members, invites, and usage reports on behalf of your users through a single organization Admin key.


Prerequisites

  • An Anthropic account with access to the Claude Console
  • Organization-owner permissions — only organization admins can create Admin keys
  • The Admin API uses the x-api-key header and requires the anthropic-version: 2023-06-01 header on every request (Frontegg sets this automatically)

Connect Anthropic

Step 1: Open the Claude Console

Go to https://console.anthropic.com and sign in with your organization account. If you do not have an account yet, click Continue with Google or Continue with email and complete the onboarding flow to create an Anthropic organization.

Claude Console sign-in page

Step 2: Open the dashboard

After signing in, you land on the Dashboard. From here you can access workspaces, settings, and API keys.

Claude Console dashboard

Step 3: Open the Admin keys page

Open your profile menu in the top-right corner and navigate to Organization settingsAdmin keys, or go directly to https://console.anthropic.com/settings/admin-keys. Click the Create admin key button in the top-right corner.

Admin keys vs API keys

This integration requires an Admin key (prefix sk-ant-admin...), not a regular workspace API key (prefix sk-ant-api...). Admin keys are the only credential type that can call the Claude Admin API endpoints used by this connector.

Admin keys page with Create admin key button highlighted

Step 4: Name the admin key

In the Create admin key dialog, enter Frontegg Integration (or any descriptive name) and click Add.

Create admin key dialog

Step 5: Copy the admin key

The console displays the newly generated admin key exactly once. Click Copy key and store the value in a safe location — Anthropic does not allow you to view it again.

Keep your credentials secure

The admin key is shown only at creation time. Never share or commit it to version control. Admin keys are owned by the organization and remain active even after the creator is removed.

Save your admin key dialog with the key blurred

Step 6: Verify the key appears in the list

After closing the dialog, the new admin key appears in the Admin keys list together with its name, a masked preview of the value, the creator, and the creation date. You can revoke it from the More actions menu at any time.

Admin keys list with the new key visible

Configure the Frontegg portal

Once you have your admin key from the steps above, enter it in the integration configuration page of the Frontegg portal:

  1. Open the Frontegg portal and navigate to [ENVIRONMENT] → Integrations → Anthropic.
  2. Paste the Admin key (starting with sk-ant-admin...) into the API Key field.
  3. Click Save.

Keep your credentials secure

Never share or commit your admin key to version control.

Provider limitations

The Anthropic Admin API does not expose a full CRUD surface for every resource. The connector preserves the shape of the API, but the following operations are short-circuited and return a clear error at execution time.

OperationLimitationWorkaround
Create API keyAnthropic does not support creating API keys through the Admin API.Provision new API keys directly in the Claude Console.
Delete API keyAnthropic does not support hard deletion of API keys.Call Update API Key with status: "archived" as a soft delete.
Delete workspaceWorkspaces cannot be hard-deleted.Use Archive Workspace to soft-delete a workspace.
Remove organization userUsers with the organization admin role cannot be removed through the API.Demote the user to a non-admin role first, or remove them from the Claude Console.
Invite expirationInvites expire after 21 days. This window is fixed by Anthropic and cannot be configured.Re-issue an invite once the previous one expires.

Additional API-level constraints to be aware of:

  • Authentication — The Admin API authenticates with the x-api-key header using an organization Admin key. OAuth is not supported.
  • Mandatory version header — Every request must include anthropic-version: 2023-06-01. The connector sets this header automatically.
  • Role enforcement — Scopes are enforced by the Admin key itself; role changes in the console are reflected on the next request.
  • Usage and cost buckets — The messages usage report supports 1m, 1h, and 1d bucket widths. The cost report supports only 1d (daily) buckets.
  • Pagination limits — Usage and cost endpoints accept a limit between 1 and 1000 and a next_page cursor for subsequent pages.

Additional resources