Setup OpenClaw
Get your personal AI assistant running in 15 minutes. No coding required ā just follow these steps.
Before You Start
Don't have an AI API key? Get Claude API key ($5 free credits for new accounts).
Setup Steps
Open Terminal and run:
curl -fsSL https://get.openclaw.ai | bashThis installs OpenClaw and all dependencies. Works on macOS and Linux.
Alternative: Install via npm
npm install -g openclawopenclaw setupThe wizard will ask for:
- AI Provider ā Claude (recommended), GPT-4, or local models
- API Key ā Your Anthropic or OpenAI key
- Workspace ā Where OpenClaw stores memory and files
- Channels ā Telegram, Discord, WhatsApp, or CLI-only
Telegram Setup:
- Message @BotFather on Telegram
- Send
/newbotand follow the prompts - Copy the bot token (looks like
123456:ABC-DEF...) - Paste it in the OpenClaw setup wizard
# Or add manually to openclaw.yaml:
channels:
telegram:
enabled: true
token: "YOUR_BOT_TOKEN"
allowedUsers:
- "YOUR_TELEGRAM_ID"openclaw startYou should see:
ā OpenClaw started
ā Telegram connected
ā Claude API ready
Your AI assistant is now online!
Message your Telegram bot to start chatting.Open Telegram and message your bot:
"Hey, what can you help me with?"
OpenClaw should respond within seconds. If it doesn't, check the logs with openclaw logs.
You're All Set!
OpenClaw is now running on your machine. Chat with it via Telegram, teach it about your work, and let it automate your tasks.
What's Next?
Troubleshooting
Restart your terminal, or run: source ~/.bashrc (or ~/.zshrc)
Check your bot token is correct. Make sure your Telegram ID is in allowedUsers.
Verify your Claude/OpenAI key at console.anthropic.com or platform.openai.com
Another OpenClaw instance might be running. Run: openclaw stop, then try again.
Want OpenClaw Running 24/7?
Get a cloud-hosted Mac Mini so your AI assistant never sleeps. Use code OPENCLAW15 for 15% off.