Install OpenClaw, run onboarding, and chat with your AI assistant — all in about 5 minutes. By the end you will have a running Gateway, configured auth, and a working chat session.
What you need
- Node.js — Node 24 recommended (Node 22.16+ also supported)
- An API key from a model provider (Anthropic, OpenAI, Google, etc.) — onboarding will prompt you
Quick setup
<Note>
Other install methods (Docker, Nix, npm): [Install](/docs/openclaw-docs/install.
</Note>
The wizard walks you through choosing a model provider, setting an API key,
and configuring the Gateway. It takes about 2 minutes.
See [Onboarding (CLI)](/docs/openclaw-docs/start/wizard for the full reference.
You should see the Gateway listening on port 18789.
This opens the Control UI in your browser. If it loads, everything is working.
Want to chat from your phone instead? The fastest channel to set up is
[Telegram](/docs/openclaw-docs/channels/telegram (just a bot token). See [Channels](/docs/openclaw-docs/channels
for all options.
mkdir -p "$HOME/.openclaw/control-ui-custom"
# Copy your built static files into that directory.
Then set:
{
"gateway": {
"controlUi": {
"enabled": true,
"root": "$HOME/.openclaw/control-ui-custom"
}
}
}
Restart the gateway and reopen the dashboard:
openclaw gateway restart
openclaw dashboard
What to do next
OPENCLAW_HOME— home directory for internal path resolutionOPENCLAW_STATE_DIR— override the state directoryOPENCLAW_CONFIG_PATH— override the config file path
Full reference: [Environment variables](/docs/openclaw-docs/help/environment.