OpenClaw Guide

Get up and running in minutes with simple CLI commands.

Quick Start (3 Steps)

1.
openclaw onboard --install-daemon

Connect a chat channel (Telegram, Discord, WhatsApp) and model

2.
openclaw models list

See available models

3.
openclaw dashboard

Open the Control UI and start chatting!

Channel Configuration

Connect your messaging platforms to OpenClaw. Run the onboarding wizard or configure manually.

Setup Channels

openclaw onboard
openclaw configure
openclaw channels list

Channel Commands

openclaw channels add telegram
openclaw channels add discord
openclaw channels add whatsapp

Common Commands

Setup & Config

openclaw onboard
openclaw onboard --flow quickstart
openclaw configure
openclaw dashboard

Models

openclaw models list
openclaw models set <model>
openclaw models status
openclaw models scan

Gateway

openclaw gateway
openclaw gateway status
openclaw gateway restart
openclaw gateway install

Agents

openclaw agents add <name>
openclaw agents list
openclaw agents remove <name>
openclaw chat --agent <name>

Channels

openclaw channels list
openclaw pairing list
openclaw pairing approve
openclaw devices list

Debugging

openclaw logs --follow
openclaw doctor
openclaw doctor --fix
openclaw status

What the Wizard Sets Up

Running openclaw onboard walks you through:

1. Model & Auth

API key setup (Anthropic, OpenAI, or custom), default model selection

2. Workspace

Agent files location (~/.openclaw/workspace)

3. Gateway

Port (default 18789), bind address, auth token, Tailscale

4. Channels

Telegram, Discord, WhatsApp, Google Chat, Mattermost, iMessage

5. Daemon

LaunchAgent (macOS) or systemd (Linux) for auto-start

6. Skills

Recommended skills and tool dependencies

Guides

Common Environment Variables

Core

OPENCLAW_HOME - Config directory
OPENCLAW_STATE_DIR - State directory
OPENCLAW_CONFIG_PATH - Custom config path

Model Backend

MODEL_BACKEND_URL - Ollama, vLLM URL
ANTHROPIC_API_KEY - Anthropic key
OPENAI_API_KEY - OpenAI key

More Resources