docs/start/wizard.md
openclaw onboard
CLI onboarding is the recommended terminal setup path on macOS, Linux, and
Windows (native or WSL2). It configures a local Gateway (or a connection to a
remote Gateway), plus channels, skills, and workspace defaults in one guided
flow. openclaw setup runs the same flow (Setup covers the
--baseline config-only variant). Windows desktop users can also start from
Windows Hub.
Provider sign-in, channel pairing, daemon install, and skill downloads can
extend a quick setup; optional steps can be skipped and revisited later with
openclaw configure.
The wizard localizes fixed onboarding copy. Resolve order: OPENCLAW_LOCALE,
LC_ALL, LC_MESSAGES, LANG, then English. Supported locales: en,
zh-CN, zh-TW.
OPENCLAW_LOCALE=zh-CN openclaw onboard
Product names, commands, config keys, URLs, provider IDs, model IDs, and plugin/channel labels stay in English regardless of locale.
To reconfigure later:
openclaw configure
openclaw agents add <name>
Onboarding opens with a choice between QuickStart (defaults) and
Advanced (full control). Pass --flow quickstart or --flow advanced
(alias manual) to skip the prompt.
Remote mode (--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.
Local mode (default) walks through these steps:
openai/gpt-5.6 (the bare direct-API
id resolves to Sol); fresh ChatGPT/Codex setup defaults to
openai/gpt-5.6-sol. Re-running setup preserves an existing explicit model,
including openai/gpt-5.5. Select openai/gpt-5.5 explicitly 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 ref stores 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 (file or
exec), with a fast preflight check before saving.~/.openclaw/workspace). Seeds bootstrap files.--gateway-token-ref-env <ENV_VAR>.gateway.auth.token is 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 both gateway.auth.token and
gateway.auth.password are set while gateway.auth.mode is unset, install
is blocked until you set the mode explicitly.--flow import runs a detected migration flow (for example Hermes) instead of
fresh setup; see Migrate and the migration guides under
Install. openclaw onboard --modern starts
Crestodian, a conversational setup/repair assistant, in
place of the classic wizard.
Use openclaw 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[].agentDirNotes:
~/.openclaw/workspace-<agentId> (or under
agents.defaults.workspace if that is set).bindings to route inbound messages to this agent (onboarding can do this for you).--model, --agent-dir, --bind, --non-interactive.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, see openclaw onboard.
openclaw onboard