Skip to content

BYOK - Anthropic

Anthropic

IMPOWR uses two Anthropic endpoints:

  • https://api.anthropic.com/v1/messages to run requests
  • https://api.anthropic.com/v1/models to list available models and validate your key

Create a key

  1. Sign in to the Claude Console, or create an account.
  2. Set up billing. API usage is pay-as-you-go, so the account needs credits or a payment method.
  3. Go to Settings → API keys and select Create key.
  4. Name the key (for example, “IMPOWR”), choose an expiration, and choose a linked account and workspace (see the recommendations below).
  5. Copy the key right away. It starts with sk-ant- and is shown only once. If you lose it, create a new one.
  6. Paste it into IMPOWR under the provider settings.

If Create key is disabled, your role may not allow it. Ask an organization admin to change your role or to create a service account key for you.

  • Use a service account. A key linked to a service account keeps working if an employee leaves. Personal keys stop working when their owner is removed from the organization.
  • Scope the key to a dedicated workspace. Create a workspace just for IMPOWR so its usage is isolated from your other projects and easy to report on.
  • Set an expiration and rotate keys on a schedule.
  • Monitor usage and expenditure. Review usage and spend in the Console regularly.

A note on permissions

Anthropic API keys are not limited to specific endpoints or models the way other providers (like OpenAI restricted keys) are. A key grants broad API access within its workspace. Use a dedicated key and workspace for IMPOWR, and revoke the key in the Console if you stop using it.

Test your key (optional)

curl https://api.anthropic.com/v1/models \
  -H "x-api-key: $ANTHROPIC_API_KEY" \
  -H "anthropic-version: 2023-06-01"

A JSON list of models means the key works. A 401 error means the key is invalid or has been revoked.