Skip to content

Configuration

Environment file

Copy .env.example to .env and set the values you need.

Common keys:

  • ANTHROPIC_API_KEY
  • OPENAI_API_KEY
  • OPENCLAW_GATEWAY_TOKEN

Onboarding

Run interactive onboarding:

Terminal window
openclaw onboard

For automation, use non-interactive mode. See OpenClaw docs: