Quick Start

Quick Start

Get your first OpenClaw agent running in under 5 minutes.

1. Initialize Configuration

openclaw init

This creates the default configuration at ~/.openclaw/openclaw.json.

2. Configure Your Model Provider

Edit the configuration to add your LLM provider:

{
  "brain": {
    "provider": "anthropic",
    "model": "claude-sonnet-4-6"
  }
}

3. Start the Gateway

openclaw start

The gateway will start on 127.0.0.1:18789 by default.

4. Connect a Channel

Add a Telegram bot or other channel to start interacting with your agent:

openclaw channel add telegram --token YOUR_BOT_TOKEN

5. Test Your Agent

Send a message to your bot and watch it respond. Your first agent is live!

What’s Next?

Last updated: 2026-03-10

Related Articles