docs: emphasize setup-token

This commit is contained in:
Peter Steinberger
2026-01-09 15:29:50 +01:00
parent e612aedbff
commit 4b7d9c72df
3 changed files with 30 additions and 0 deletions

View File

@@ -13,6 +13,22 @@ credentials**, including the 1year token created by `claude setup-token`.
See [/concepts/oauth](/concepts/oauth) for the full OAuth flow and storage
layout.
## Preferred Anthropic setup (Claude CLI setup-token)
For Anthropic, the **preferred** path is the Claude CLI setup-token, not an API key.
Run it on the **gateway host**:
```bash
claude setup-token
```
Then verify and sync into Clawdbot:
```bash
clawdbot models status
clawdbot doctor
```
## Recommended: longlived Claude Code token
Run this on the **gateway host** (the machine running the Gateway):