docs: add FAQ for Anthropic setup-token and Codex auth

This commit is contained in:
Peter Steinberger
2026-01-11 02:05:29 +01:00
parent fa0f2b971f
commit 49f99e200a

View File

@@ -88,6 +88,14 @@ Node **>= 22** is required. `pnpm` is recommended; `bun` is optional.
It also warns if your configured model is unknown or missing auth.
### How does Anthropic "setup-token" auth work?
The wizard can run `claude setup-token` on the gateway host (or you run it yourself), then stores the token as an auth profile for the **anthropic** provider. That profile is used for model calls the same way an API key or OAuth profile would be. If you already ran `claude setup-token`, pick **Anthropic token (paste setup-token)** and paste it. More detail: [OAuth](/concepts/oauth).
### How does Codex auth work?
Clawdbot supports **OpenAI Code (Codex)** via OAuth or by reusing your Codex CLI login (`~/.codex/auth.json`). The wizard can import the CLI login or run the OAuth flow and will set the default model to `openai-codex/gpt-5.2` when appropriate. See [Model providers](/concepts/model-providers) and [Wizard](/start/wizard).
### Can I use Bun?
Bun is supported for faster TypeScript execution, but **WhatsApp requires Node** in this ecosystem. The wizard lets you pick the runtime; choose **Node** if you use WhatsApp.