Configure & Connect in OpenClaw
From the OpenClaw cheat sheet ยท Configuration ยท verified Jul 2026
Configure & Connect
Run onboard, configure subsystems, and connect channels.
bash
# First-time setup (interactive wizard)
openclaw onboard
# Initialize config + workspace
openclaw setup
openclaw setup --workspace ~/my-agent
openclaw setup --wizard
# Re-run the full configuration wizard
openclaw configure
# Configure a specific section
openclaw configure --section model # Model provider + API keys
openclaw configure --section channels # Messaging channels
openclaw configure --section web # Web UI / Canvas settings
openclaw configure --section security # Auth, tokens, trust
# Set individual values via CLI
openclaw config set channels.telegram.enabled true
openclaw config set channels.telegram.botToken "YOUR_BOT_TOKEN"
openclaw config set agents.defaults.model "sonnet"๐ก "openclaw configure --section channels" is the fastest way to connect a new platform
โก Use "openclaw setup --workspace" to point at a custom directory for agent files
๐ Set dmPolicy: "allowlist" + allowFrom to lock channels to your account only
๐ข Always restart the gateway after config changes โ they don't apply until restart
configureconfigsetup