# Provider connections

Source: https://docs.aiand.com/organizations/provider-connections/

A provider connection lets your organization use its own Anthropic account for Claude requests. You keep your ai& API keys and applications. You add your Anthropic key in the console.

Anthropic bills you directly for these requests. ai& charges nothing for them.

## Who can manage a connection

Only the organization's **Owner** and **Admins** can view and manage provider connections. Other roles cannot, and do not see **Settings → Provider Connections**.

## Add your Anthropic key

<Steps>

1. In the [console](https://console.aiand.com), select your organization. Open **Settings → Provider Connections**.
2. Select **Add Anthropic Key**.
3. Enter a **Label**, such as your Anthropic workspace name, and your **Anthropic API Key**. The label is required. The console never shows the key again.
4. Read the confirmation. It says that all Claude requests in your organization will use this key, including requests from existing applications. Anthropic will bill the usage within your account's limits. Failed requests will not switch to ai& credits. Anthropic will keep request data under your agreement with Anthropic, while ai&'s data retention settings still apply to what ai& keeps.
5. Select the confirmation checkbox, then select **Add and turn on**.

</Steps>

The console checks the key before saving it. If Anthropic rejects it, the console shows **Anthropic rejected this key. Check it and try again.** Check the key and try again.

If Anthropic is unavailable or times out, the console shows a retryable error and saves nothing. The console checks the current connections before it adds a key. If your organization already has one, for example because another admin just added it, the console says so and asks you to use **Rotate** instead. If you lose your network connection before seeing a result, the console checks again whether the key was added before you can try again.

The console manages one Anthropic key per organization. After you add a key, use **Rotate** to replace it.

## Which requests use your key

Every Claude model name uses your organization's connection, including names that do not appear in the console's model list. This applies to applications that already run. You do not need to change their model names or ai& API keys.

Your key serves Claude requests on `/v1/messages` and `/v1/messages/count_tokens` only. A Claude request on any other endpoint, such as `/v1/chat/completions`, fails with `400 unsupported_endpoint`. Switch those applications to `/v1/messages`.

The console shows **Models reported by Anthropic** and when it fetched the list. This list is information from Anthropic. It does not limit which Claude model names use your key.

## Billing

Anthropic bills usage to your Anthropic account, within that account's limits. ai& charges nothing for requests that use your provider connection.

Your organization's ai& monthly budget does not cover these requests. To limit what they cost, set limits in your Anthropic account.

If a request fails, it returns an error. It never falls back to ai& credits.

## Request data

Anthropic keeps request data under your agreement with Anthropic, which zero data retention doesn't cover. What ai& keeps follows your organization's storage settings. For details, see [Data retention](/organizations/zero-data-retention/).

## Rotate your key

Select **Rotate** on the connection. Enter the new Anthropic key and select **Save new key**. The label stays the same.

The new key starts handling requests within a few minutes. If a rotation fails, saving the same key again is safe.

If your old key leaked, revoke it at Anthropic as well. Rotation does not revoke the key at Anthropic.

## Remove your connection

Select **Remove** on the connection, read the confirmation, and select **Remove** in the dialog. The console removes the connection. It cannot undo this action.

If this is your only connection, Claude requests from your organization will fail with `model_not_found`. They will not spend ai& credits. If another connection remains, the confirmation names the key that will handle your Claude requests instead, and Anthropic will bill that account. If that key is broken, Claude requests will fail instead.

The change can take a few minutes to reach every request. Existing applications are affected in either case.

If the key leaked, revoke it at Anthropic as well.

## If your key stops working

The console shows a red **Broken** status. If it is the key that handles your Claude requests, they fail with an error and do not use ai& credits. Select **Rotate** to enter a new key.

## View requests in Logs

Open **Analytics → Logs** in the console. The Cost column for requests through your provider connection shows **Billed by Anthropic** instead of an amount. No ai& credits are deducted.

For log fields, retention, and content logging, see [Request Logs](/analytics/logs/).
