What You'll Do
Set up your AI model provider and connect at least one messaging channel (Telegram, Discord, etc.).
Configure AI Model
1. Get API Key
Choose one provider:
2. Set Environment Variable
export ANTHROPIC_API_KEY="your-api-key-here"
Or add to your `.env` file in the workspace.
Connect a Channel
Telegram (Recommended for Beginners)
{
"channels": {
"telegram": {
"token": "your-bot-token-here"
}
}
}
openclaw gateway start
Verification
Send a message to your Telegram bot. You should receive a response from your OpenClaw assistant.
Pass Criteria
✅ You can send and receive at least one message
✅ AI model responds correctly
✅ OpenClaw Gateway is running
Next Step
Move to [Step 4: Operational Setup](/step/4) to add memory and skills.