Tutorial
Anthropic
Use your Anthropic API key or Claude Code token to power OpenClaw Setup with Claude models.
How to get API key
- Go to console.anthropic.com
- Sign in or create an account
- Open API Keys and create a new key
- Copy the key and paste it into the OpenClaw Setup wizard
Tip: Add spending limits in the console to avoid surprises.
Claude Code setup token
An alternative to the Anthropic API key is the Claude Code setup token, obtained via the Claude Code CLI.
- Install the Claude Code CLI (see official docs).
- In a terminal run:
claude setup-token - Copy the printed token value.
- In the OpenClaw Setup wizard, select Auth Method: Claude Code Token (
claude_code_token) and paste the token.
Note: Treat the token as secret. If claude command is not found, install or update Claude Code.
Ready to launch?
Once you have your Anthropic credentials, go to the dashboard to complete setup.