Connect an Anthropic Organization

In this guide, you will connect an Anthropic organization to Turbot Guardrails using the Create Connection wizard. The wizard authenticates an Admin API key, places the connection in a folder, and creates it in a single flow.

Once connected, Guardrails uses the Anthropic Admin API to discover the organization's workspaces, members, users, API keys, and invites, and evaluates them against your configured policies.

This guide covers both the Anthropic-side setup (minting an Admin API key) and the Guardrails-side wizard flow.

Prerequisites

Step 1: Mint an Admin API Key

Guardrails authenticates against the Anthropic Admin API with an organization-scoped admin key. The key is bound to a single organization. Workspace-scoped and standard API keys are rejected by the Admin API surface.

In the Anthropic Console, navigate to Settings > Admin API keys. An organization Owner selects Create admin key, names it (for example, turbot-guardrails), and copies the value.

[!IMPORTANT] Admin keys are shown only once and cannot be recovered after the dialog closes. Copy the key immediately. Anthropic admin keys carry the prefix sk-ant-admin-....

Step 2: Open the Create Connection Wizard

From the Dashboard (the Guardrails home page), select the CONNECT button in the top right. You can also start from the Accounts page (Workspace > Accounts) by selecting Import. Both open the same Create Connection wizard.

Guardrails Dashboard with the CONNECT button in the top right

Step 3: Select Anthropic as the Provider

The wizard displays a grid of available providers. Each provider shows an Installed or Not Installed badge indicating whether the corresponding mod is available in your workspace.

Select Anthropic from the provider grid.

Provider selection grid showing Anthropic and OpenAI alongside the cloud providers

Step 4: Authenticate

The wizard presents a 3-step process. Step 1 authenticates your Admin API key against Anthropic.

Wizard authentication step with Admin API Key and optional Base URL fields

FieldDefaultDescription
Admin API KeyNoneThe sk-ant-admin-... key minted in Step 1. Stored as a secret.
Base URLhttps://api.anthropic.comOptional. Override only to point at a non-default Anthropic API endpoint.

Select Test Connectivity. On success, Guardrails displays Authenticated as the organization name and shows the discovered organization ID. Anthropic exposes a single /v1/organizations/me endpoint, so the organization is resolved automatically from the key.

[!TIP] If the test fails, verify the key has the sk-ant-admin-... prefix, has not been revoked, and was minted by an organization Owner.

Select Continue to proceed.

Step 5: Choose Destination Folder

Choose where to place this connection in your Guardrails resource hierarchy. The imported organization and all its discovered resources are placed in this folder.

Wizard destination folder selection step

Select a folder, then select Continue to proceed to the final step.

Step 6: Review and Create Connection

The final step summarizes your configuration in numbered sections:

  1. Authentication: Organization name, organization ID, and base URL (if set).
  2. Destination Folder: Where the connection will be placed.

A What happens next note explains that Guardrails connects to the Anthropic organization using the Admin API key, discovers workspaces, members, and API keys automatically, and lets you manage discovery settings after import.

Wizard review step showing the authentication summary and destination folder

Select Create Connection.

Step 7: Review

You can verify the organization from the Guardrails CLI:

turbot resource get tmod:@turbot/anthropic#/resource/types/organization

Next Steps

Troubleshooting

IssueSolution
Anthropic shows Not Installed in the gridInstall the Anthropic mod in your workspace, then reopen the wizard.
Test Connectivity failsThe key is a workspace-scoped or standard key, was revoked, or lacks admin scope. Mint a fresh admin key (sk-ant-admin-...) as an Owner.
Admin key option missing in the ConsoleAdmin API access requires the Anthropic Team plan or higher, and only Owners can mint admin keys.
Create Connection button disabledYour role lacks connection-create permission. You need Turbot/Owner or Turbot/Admin at the Turbot resource level.
Further assistanceOpen a support ticket with error details, or join the #guardrails channel in the Turbot Community Slack.