Onboarding Wizard (CLI)
The onboarding wizard is the recommended way to set up OpenClaw on macOS, Linux, or Windows (via WSL2; strongly recommended). It configures a local Gateway or a remote Gateway connection, plus channels, skills, and workspace defaults in one guided flow.Fastest first chat: open the Control UI (no channel setup needed). Run
openclaw dashboard and chat in the browser. Docs: Dashboard.--json does not imply non-interactive mode. For scripts, use --non-interactive.QuickStart vs Advanced
The wizard starts with QuickStart (defaults) vs Advanced (full control).- QuickStart (defaults)
- Advanced (full control)
- Local gateway (loopback)
- Workspace default (or existing workspace)
- Gateway port 18789
- Gateway auth Token (auto‑generated, even on loopback)
- Tailscale exposure Off
- Telegram + WhatsApp DMs default to allowlist (you’ll be prompted for your phone number)
What the wizard configures
Local mode (default) walks you through these steps:- Model/Auth — Anthropic API key (recommended), OAuth, OpenAI, or other providers. Pick a default model.
- Workspace — Location for agent files (default
~/.openclaw/workspace). Seeds bootstrap files. - Gateway — Port, bind address, auth mode, Tailscale exposure.
- Channels — WhatsApp, Telegram, Discord, Google Chat, Mattermost, Signal, BlueBubbles, or iMessage.
- Daemon — Installs a LaunchAgent (macOS) or systemd user unit (Linux/WSL2).
- Health check — Starts the Gateway and verifies it’s running.
- Skills — Installs recommended skills and optional dependencies.
Re-running the wizard does not wipe anything unless you explicitly choose Reset (or pass
--reset).
If the config is invalid or contains legacy keys, the wizard asks you to run openclaw doctor first.Add another agent
Useopenclaw agents add <name> to create a separate agent with its own workspace,
sessions, and auth profiles. Running without --workspace launches the wizard.
What it sets:
agents.list[].nameagents.list[].workspaceagents.list[].agentDir
- Default workspaces follow
~/.openclaw/workspace-<agentId>. - Add
bindingsto route inbound messages (the wizard can do this). - Non-interactive flags:
--model,--agent-dir,--bind,--non-interactive.
Full reference
For detailed step-by-step breakdowns, non-interactive scripting, Signal setup, RPC API, and a full list of config fields the wizard writes, see the Wizard Reference.Related docs
- CLI command reference:
openclaw onboard - macOS app onboarding: Onboarding
- Agent first-run ritual: Agent Bootstrapping