Quick Start Guide
5-Minute Quick Start
Section titled “5-Minute Quick Start”This guide will have you chatting with Clawdbot in under 5 minutes.
Prerequisites
Section titled “Prerequisites”- Python 3.10+ installed
- An Anthropic API key
- A Telegram account
-
Clone and setup
Terminal window git clone https://github.com/polvoazul/clawdbot.gitcd clawdbotpython3 -m venv venvsource venv/bin/activate # Windows: .\venv\Scripts\activatepip install -r requirements.txt -
Get a Telegram Bot Token
- Open Telegram and search for @BotFather
- Send
/newbotand follow the prompts - Copy the bot token provided
-
Configure environment
Terminal window cp .env.example .envEdit
.envand add:Terminal window ANTHROPIC_API_KEY=sk-ant-your-key-hereTELEGRAM_BOT_TOKEN=your-telegram-bot-token -
Start Clawdbot
Terminal window python -m clawdbot -
Chat with your bot
- Open Telegram
- Find your bot by the username you created
- Send a message and get a response!
Verify It’s Working
Section titled “Verify It’s Working”You should see output like:
[INFO] Clawdbot starting...[INFO] Loading channel: telegram[INFO] Telegram bot connected: @YourBotName[INFO] Ready to receive messagesTry sending:
- “Hello, who are you?”
- “What’s the weather like?” (Claude will explain it can’t check weather)
- “Help me write a Python function”
Next Steps
Section titled “Next Steps”Now that Clawdbot is running:
- Add more channels: Connect WhatsApp, Discord, or Slack
- Customize behavior: Learn about hooks and plugins
- Run in background: Set up as a system service
- Deploy with Docker: See Docker guide
Common Issues
Section titled “Common Issues”Bot not responding?
- Check the bot token is correct
- Ensure you’ve started the bot in Telegram (send
/start) - Verify your Anthropic API key has credits
Connection errors?
- Check your internet connection
- Verify firewall isn’t blocking outbound connections
- Try running with
LOG_LEVEL=DEBUGfor more info
Need help?
- Check Troubleshooting
- Ask in GitHub Discussions