Configure & Connect in OpenClaw

From the OpenClaw cheat sheet · Configuration · verified Nov 2026

Configure & Connect

Run onboarding, configure subsystems, and connect channels.

bash
# Guided first-run setup
openclaw onboard

# Targeted changes to an existing setup (interactive)
openclaw configure
openclaw configure --section model      # provider sign-in and models
openclaw configure --section channels   # messaging channels
openclaw configure --section web        # web search provider and key
openclaw configure --section gateway    # where it runs, auth mode

# Read and write single values
openclaw config get gateway.port
openclaw config set gateway.port 19001 --strict-json
openclaw config validate

# Add a channel account
openclaw channels add --channel telegram --token <bot-token>
💡 "openclaw channels add" is the fastest way to connect a new platform; "configure --section channels" is the guided version
⚡ Configure sections are workspace, model, memory, web, gateway, daemon, channels, plugins, skills and health. There is no "security" section
📌 Unknown senders get a pairing code by default; set dmPolicy "allowlist" with allowFrom to lock a channel to your own account
🟢 Most config changes apply without a restart, and the CLI prints "Restart the gateway to apply." when one is needed
configureconfigsetup

Continue with OpenClaw

Save the full cheat sheet or work through every related task.

Back to the full OpenClaw cheat sheet