Claude (Anthropic)
Claude models can be used two ways: an Anthropic API key
(pay-per-use), or an existing Claude Pro/Max subscription.
Option A: Anthropic API key
- Sign in at console.anthropic.com —
Anthropic's developer console, a separate login area from the Claude
app.
- Open API keys in
settings.
- Click Create key, name it, and copy it — keys start with
sk-ant-api03- and are shown only once.
API usage is billed per token and needs credits: add them under the
console's Billing settings. Anthropic's getting-started reference is at
Option B: Claude Pro/Max subscription
If you pay for Claude (Pro or Max), you can connect the subscription
instead — no API billing involved; usage draws on your plan's limits.
Guided sign-in (recommended)
From your dashboard after deploy, choose **Connect your Claude
subscription** and follow the wizard:
- A Claude sign-in page opens. Sign in with the account that holds your
subscription and approve the connection.
- Claude shows you an approval code — copy it.
- Paste the code back into the wizard and submit.
> The approval code is short-lived — about two minutes. If it expires,
> nothing is lost: the wizard offers a one-click restart and you can go
> again.
Do-it-yourself: a setup token
If you already use the Claude Code
command-line tool anywhere, you can generate a long-lived credential
yourself:
```bash
claude setup-token
```
Sign in when the browser opens, and the command prints a token starting
with sk-ant-oat01-. Paste that token as the credential during deploy or
in your dashboard — it's accepted anywhere an Anthropic key is.
Rotating or revoking
- API keys — delete and recreate at
console.anthropic.com/settings/keys,
then add the new key from your dashboard.
- Subscription connections — you can disconnect and re-run the guided
sign-in from the dashboard at any time.