How to Set Up Your Own AI Assistant in 30 Minutes
No coding required. Just follow these steps and you'll have your personal AI assistant running by the end of this article.
What You'll Build
In 30 minutes, you'll have:
- An AI assistant that runs 24/7
- Access from your phone via Telegram
- Memory that persists across conversations
- Ability to set reminders and draft messages
Let's go.
Minute 0-5: Get Your API Key
Your AI assistant needs access to an AI model. We'll use Claude.
- Go to console.anthropic.com
- Create an account (use Google or email)
- Add a payment method under Billing
- Add $10 in credits (enough for weeks of personal use)
- Go to API Keys → Create Key → Name it "OpenClaw"
- Copy the key and save it somewhere — you'll need it soon
Minute 5-10: Install OpenClaw
Mac Users
Open Terminal and run:
brew install openclaw/tap/openclaw
Done.
Windows Users
- Install Node.js from nodejs.org
- Open PowerShell
- Run:
npm install -g openclaw
Linux Users
npm install -g openclaw
Verify Installation
Run:
openclaw --version
You should see a version number.
Minute 10-15: Configure OpenClaw
Initialize your setup:
openclaw init
This creates ~/.openclaw/ with default configuration.
Now add your API key. Open ~/.openclaw/openclaw.json in any text editor:
# Mac
open ~/.openclaw/openclaw.json
# Windows
notepad %USERPROFILE%\.openclaw\openclaw.json
# Linux
nano ~/.openclaw/openclaw.json
Find the model section and add your key:
{
"model": {
"provider": "anthropic",
"apiKey": "sk-ant-YOUR-KEY-HERE"
}
}
Save the file.
Minute 15-20: Create a Telegram Bot
This lets you chat with your AI from your phone.
- Open Telegram
- Search for @BotFather
- Send
/newbot - Choose a name: "My AI Assistant"
- Choose a username ending in
bot:myai_assistant_bot - Copy the API token BotFather gives you
Now add it to your config. Edit ~/.openclaw/openclaw.json:
{
"model": {
"provider": "anthropic",
"apiKey": "sk-ant-YOUR-KEY-HERE"
},
"channels": {
"telegram": {
"botToken": "YOUR-TELEGRAM-BOT-TOKEN"
}
}
}
Minute 20-25: Start Your AI
Run:
openclaw
You should see:
OpenClaw started
Telegram channel connected
Open Telegram, find your bot, and send "Hello!"
Did you get a response? Congratulations — your AI assistant is alive!
Minute 25-30: Personalize It
Create a file to tell your AI about yourself:
Create ~/.openclaw/USER.md:
# About Me
Name: [Your name]
Location: [Your city]
Timezone: [Your timezone]
# Preferences
- Keep responses concise
- Use bullet points for lists
- Be direct and practical
Try it out:
- "What time is it?" (should answer in your timezone)
- "Set a reminder for tomorrow at 9am to call mom"
- "What did I tell you my name is?"
You Did It!
In 30 minutes, you built a personal AI assistant that:
- Runs on your computer
- Is accessible via Telegram anywhere
- Remembers who you are
- Can set reminders and more
What's Next?
Keep It Running
Your assistant stops when you close Terminal. For 24/7 operation:
Mac:
screen -S openclaw
openclaw
# Press Ctrl+A, then D to detach
Or with PM2:
npm install -g pm2
pm2 start openclaw
pm2 startup
pm2 save
Add More Features
- WhatsApp: Add another channel for redundancy
- Calendar: Connect Google Calendar for scheduling
- Email: Enable email drafting and triage
- Web browsing: Let your AI search the web
Expand Your Memory
Add to USER.md over time:
- Important contacts
- Ongoing projects
- Preferences you discover
- Information to remember
Join the Community
- Explore the OpenClaw subreddit
- Join the Discord for help
- Check GitHub for skills and plugins
Troubleshooting
Bot Not Responding
- Check OpenClaw is running (look for output in Terminal)
- Verify your Telegram bot token is correct
- Make sure you're messaging the right bot
API Errors
- Check your Anthropic credits aren't exhausted
- Verify your API key is correct
- Check your internet connection
Installation Failed
- Ensure Node.js is installed:
node --version - Try reinstalling:
npm install -g openclaw --force
Need managed hosting? OpenClaw Cloud gives you the same assistant with zero setup.
Skip the setup entirely
OpenClaw Cloud handles hosting, updates, and configuration for you — ready in 2 minutes.
📚 Explore More
How to Connect OpenClaw to Google Calendar (2026 Guide)
Connect OpenClaw to Google Calendar: create events, check schedule, get reminders via WhatsApp or Telegram. Setup takes 10 minutes with the gog CLI.
Rate Limits & Quota Management — Avoid Downtime
Getting HTTP 429 rate limit errors? Learn how to configure model fallbacks, rotate API keys, understand cooldown periods, and keep your agent running when quotas are exhausted.
Telegram
The easiest way to get started. Full bot support with groups, reactions, inline buttons, and rich media. Set up in under 10 minutes.
Self-Hosted AI Assistant — Private & Secure
Run your AI assistant on your own hardware. No cloud, no data sharing, complete privacy. OpenClaw is the self-hosted AI that never phones home.