openclaw setup runs the same flow (Setup covers
the --baseline config-only variant). Windows desktop users can also start
from Windows Hub.
Guided onboarding establishes inference first. It detects available AI access,
requires a real completion, and only then starts OpenClaw
to configure the rest of OpenClaw. Choosing Skip for now exits onboarding
without starting OpenClaw.
The classic wizard remains available for custom providers, remote Gateway
setup, channel pairing, daemon controls, skills, and imports. Run it explicitly
with openclaw onboard --classic; the guided inference picker does not delegate
into it. After inference passes, OpenClaw can use open channel wizard for <channel> to hand channel setup that needs secrets to a masked terminal wizard.
To change the model provider or its authentication, exit OpenClaw and run
openclaw onboard; OpenClaw does not open guided or classic provider flows.
Fastest first chat: finish guided setup, run
openclaw dashboard, and chat in
the browser through the Control UI. Docs: Dashboard.Locale
The wizard localizes fixed onboarding copy. Resolve order:OPENCLAW_LOCALE,
LC_ALL, LC_MESSAGES, LANG, then English. Supported locales: en,
zh-CN, zh-TW.
--json does not imply non-interactive mode. For scripts, use --non-interactive (see CLI automation).Guided default
Plainopenclaw onboard follows this path:
- Accept the security notice.
- Detect configured models, API-key environment variables, supported local AI CLIs, and already installed tool-capable models from reachable Ollama or LM Studio servers on the Gateway host. This read-only pass never downloads a model. Gemini CLI and Antigravity installs are reported but not auto-tested because they cannot enforce a tool-free probe.
- Test the first detected candidate with a real completion. On failure, show the reason and continue to the next usable candidate.
- If detection is exhausted, choose OpenAI, Anthropic, xAI (Grok), Google, or OpenRouter, or choose More… for the remaining providers. Each provider’s regions, plans, and supported browser, device, API-key, or token methods appear in a second menu and are tested with the same real completion. Choose Skip for now to exit without starting OpenClaw.
- Persist only the verified model route and any credential/plugin state it requires. Workspace and Gateway settings remain untouched.
- Start OpenClaw with the verified model so it can configure the workspace, Gateway, channels, agents, plugins, and the remaining optional setup.
openclaw channels add or openclaw configure for
later non-inference additions; use openclaw onboard for provider or auth route
changes.
Classic wizard: QuickStart vs Advanced
Runopenclaw onboard --classic to open the full wizard. It starts with a
choice between QuickStart (defaults) and Advanced (full control). Pass
--flow quickstart or --flow advanced (alias manual) to select the classic
flow and skip that prompt.
- QuickStart (defaults)
- Advanced (full control)
- Local gateway, loopback bind
- Workspace default (or existing workspace)
- Gateway port 18789
- Gateway auth Token (auto-generated, even on loopback)
- Tool policy:
tools.profile: "coding"for new setups (an existing explicit profile is preserved) - DM isolation:
session.dmScope: "per-channel-peer"for new setups. Details: CLI setup reference - Tailscale exposure Off
- Telegram and WhatsApp DMs default to allowlist: Telegram asks for a numeric Telegram user ID, WhatsApp asks for a phone number
--mode remote) always uses the advanced flow; it only
configures this machine to connect to a Gateway elsewhere and never installs
or changes anything on the remote host.
What classic onboarding configures
Local mode (default) walks through these steps:- Model/Auth - pick a provider auth flow (API key, OAuth, or
provider-specific manual auth), including Custom Provider
(OpenAI-compatible, OpenAI Responses-compatible, Anthropic-compatible, or
Unknown auto-detect). Pick a default model.
Fresh OpenAI API-key setup defaults to
openai/gpt-5.6(the bare direct-API id resolves to Sol); fresh ChatGPT/Codex setup defaults toopenai/gpt-5.6-sol. Re-running setup preserves an existing explicit model, includingopenai/gpt-5.5. Selectopenai/gpt-5.5explicitly if the account does not expose GPT-5.6. Security note: if this agent will run tools or process webhook/hook content, prefer the strongest latest-generation model available and keep tool policy strict - weaker or older tiers are easier to prompt-inject. For non-interactive runs,--secret-input-mode refstores env-backed refs instead of plaintext API key values; the referenced env var must already be set, or onboarding fails fast. Interactive secret reference mode can point at an environment variable or a configured provider ref (fileorexec), with a fast preflight check before saving. After model/auth setup, the wizard offers an optional live completion test; a failure can return to model/auth setup once or be ignored without blocking the rest of the classic wizard. Ignoring it does not unlock OpenClaw; conversational setup still requires a passing inference check. - Workspace - directory for agent files (default
~/.openclaw/workspace). Seeds bootstrap files. - Gateway - port, bind address, auth mode, Tailscale exposure. In
interactive token mode, choose plaintext token storage (default) or opt
into a SecretRef. Non-interactive SecretRef path:
--gateway-token-ref-env <ENV_VAR>. - Channels - built-in and official plugin chat channels, including Discord, Feishu, Google Chat, iMessage, Mattermost, Microsoft Teams, QQ Bot, Signal, Slack, Telegram, WhatsApp, and more.
- Daemon - installs a LaunchAgent (macOS), a systemd user unit
(Linux/WSL2), or a native Windows Scheduled Task with a per-user
Startup-folder fallback.
If token auth is required and
gateway.auth.tokenis SecretRef-managed, daemon install validates it but does not persist a resolved token into supervisor service environment metadata; an unresolved SecretRef blocks install with guidance. If bothgateway.auth.tokenandgateway.auth.passwordare set whilegateway.auth.modeis unset, install is blocked until you set the mode explicitly. - Health check - starts the Gateway and verifies it is reachable.
- Skills - installs recommended skills and their optional dependencies.
Re-running onboarding does not wipe anything unless you explicitly choose
Reset (or pass
--reset). CLI --reset defaults to config, credentials,
and sessions; use --reset-scope full to also remove the workspace. If the
config is invalid or contains legacy keys, onboarding asks you to run
openclaw doctor first.--flow import runs a detected migration flow (for example Hermes) in the
classic wizard instead of fresh setup; see Migrate and the migration guides under
Install. openclaw onboard --modern is a
compatibility alias for OpenClaw. It uses the same
inference gate as openclaw setup: verified inference starts the
assistant, while an interactive failure returns to guided inference setup.
Add another agent
Useopenclaw agents add <name> to create a separate agent with its own
workspace, sessions, and auth profiles. Running without --workspace starts
an interactive flow for name, workspace, auth, channels, and bindings - it is
not the full openclaw onboard wizard.
What it sets:
agents.list[].nameagents.list[].workspaceagents.list[].agentDir
- Default workspace:
~/.openclaw/workspace-<agentId>(or underagents.defaults.workspaceif that is set). - Add
bindingsto route inbound messages to this agent (onboarding can do this for you). - Non-interactive flags:
--model,--agent-dir,--bind,--non-interactive.
Full reference
For detailed step-by-step behavior and config outputs, see CLI setup reference. For non-interactive examples, see CLI automation. For the full flag reference, seeopenclaw onboard.
Related docs
- CLI command reference:
openclaw onboard - Onboarding overview: Onboarding overview
- macOS app onboarding: Onboarding
- Agent first-run ritual: Agent Bootstrapping