Skip to content

Commit e6bb7e5

Browse files
committed
docs(providers): note that ANTHROPIC_API_KEY requires an API account, not a subscription
Claude Max and Pro subscription users authenticate via OAuth, not an API key, causing a silent failure when creating the claude provider. Add a Note callout in the provider type table and quickstart guide directing subscription users to generate an API key from console.anthropic.com. Closes #620
1 parent f0f17bf commit e6bb7e5

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

docs/get-started/quickstart.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ The CLI prompts you to create a provider from local credentials.
6060
Type `yes` to continue.
6161
If `ANTHROPIC_API_KEY` is set in your environment, the CLI picks it up automatically.
6262
If not, you can configure it from inside the sandbox after it launches.
63+
64+
<Note>
65+
`ANTHROPIC_API_KEY` is an API key from [console.anthropic.com](https://console.anthropic.com), not a Claude.ai subscription token. Claude Max and Pro subscription users must generate a separate API key.
66+
</Note>
6367
</Tab>
6468

6569
<Tab title="OpenCode">

docs/sandboxes/manage-providers.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,10 @@ The following provider types are supported.
246246
|---|---|---|
247247
| `anthropic` | `ANTHROPIC_API_KEY` | Anthropic API |
248248
| `claude` | `ANTHROPIC_API_KEY`, `CLAUDE_API_KEY` | Claude Code, Anthropic API |
249+
250+
<Note>
251+
`ANTHROPIC_API_KEY` is an API key from [console.anthropic.com](https://console.anthropic.com), not a Claude.ai subscription token. Claude Max and Pro subscription users must generate a separate API key from the Anthropic Console.
252+
</Note>
249253
| `codex` | `OPENAI_API_KEY` | OpenAI Codex |
250254
| `copilot` | `COPILOT_GITHUB_TOKEN`, `GH_TOKEN`, `GITHUB_TOKEN` | GitHub Copilot CLI |
251255
| `generic` | User-defined | Any service with custom credentials |

0 commit comments

Comments
 (0)