## 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](https://console.anthropic.com/) - 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](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](/assets/anthropic-1.7c7dbe2938f7bc5dbc33be71626f0b2568ede591bc7e9d5edc0c06387805ce35.1ce25488.png) #### 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](/assets/anthropic-2.d714b4ac8f76e49340330a7d61922300464a0264ef535f2603a2b198320c8df0.1ce25488.png) #### Step 3: Open the Admin keys page Open your profile menu in the top-right corner and navigate to **Organization settings** → **Admin keys**, or go directly to [https://console.anthropic.com/settings/admin-keys](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](/assets/anthropic-3.117876ccfecf011e0f3cd363e2ca1ddbd4c0419c948e17fddc50b09ad2d00b5e.1ce25488.png) #### 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](/assets/anthropic-4.4d01e986459ce6d42d7fc241ddd50e2aac624a3d2b8be8680cf18d48dc10e53c.1ce25488.png) #### 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](/assets/anthropic-5.e3d300ad9e5dad1cf6d1f7a989a0d21d66b54bb7f4a25c5561364f726326445c.1ce25488.png) #### 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](/assets/anthropic-6.4ea10c33d8135d8f296ab4a16fa8bb5dfba42c76655ffb224f35cb46deeff726.1ce25488.png) ### 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. | Operation | Limitation | Workaround | | --- | --- | --- | | **Create API key** | Anthropic does not support creating API keys through the Admin API. | Provision new API keys directly in the Claude Console. | | **Delete API key** | Anthropic does not support hard deletion of API keys. | Call **Update API Key** with `status: "archived"` as a soft delete. | | **Delete workspace** | Workspaces cannot be hard-deleted. | Use **Archive Workspace** to soft-delete a workspace. | | **Remove organization user** | Users 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 expiration** | Invites 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 - [Anthropic Admin API overview](https://platform.claude.com/docs/en/api/administration-api) - [Create API keys documentation](https://platform.claude.com/docs/en/api/admin-api/apikeys/list-api-keys) - [Usage and cost reports](https://platform.claude.com/docs/en/build-with-claude/usage-cost-api) - [Claude Console](https://console.anthropic.com/) - [How to get your Redirect URL](/agen-for-work/connectors/redirect-url)