ClawdBot is an AI agent that runs 24/7 and can autonomously execute tasks like checking you into flights, responding to messages, booking appointments, and much more. This guide will walk you through setting up ClawdBot on an AWS EC2 instance in the cloud, which is the recommended method for continuous operation.
Why Run ClawdBot on AWS EC2?
- 24/7 availability without keeping your personal computer running
- Enhanced security - runs in an isolated cloud environment
- Does not have access to your entire PC or MacBook
- AWS free tier eligible for cost-effective operation
Prerequisites
Before you begin, ensure you have:
- An AWS account (free tier eligible) https://aws.amazon.com/
- An Anthropic Claude Pro or Max subscription
- WhatsApp, Telegram, or your preferred messaging app
- Claude Code installed on your local machine (for OAuth token generation)
⚠️** Important Security Note**
ClawdBot is a powerful tool that can execute actions on your behalf. For maximum security, it is recommended to run it on a separate WhatsApp number using a service like Numero. This guide assumes you understand the risks and benefits of AI automation.
Section 1: Setting Up AWS EC2 Instance
Step 1: Access AWS EC2 Console
Log in to your AWS Management Console
Navigate to the EC2 service
Click on "Launch Instance" button
Step 2: Configure Instance Name
In the "Name and tags" section, enter a name for your instance (e.g., "ClawdBot" or "Turbo")
You can choose any name you prefer - this is just for your reference
Step 3: Select Operating System
Under "Application and OS Images", select "Linux" (Amazon Linux or Ubuntu recommended)
Keep all default settings
Ensure you select a free tier eligible instance type
Skip selecting a key pair (not needed for this setup)
Click "Launch Instance"
Step 4: Connect to Your Instance
Once the instance is running, select it from your instances list
Click the "Connect" button at the top
Choose "EC2 Instance Connect" tab
Click "Connect" to open a browser-based SSH terminal
Section 2: Installing ClawdBot
Step 5: Run ClawdBot Installation Script
Navigate to the ClawdBot installation page
Copy the curl installation command (bash script)
Installation Command:
curl [ClawdBot URL] | bash
Paste the command into your EC2 terminal
Press Enter to execute
Wait for the installation to complete (this will fetch packages and install ClawdBot)
Step 6: Generate OAuth Token
Important: Use OAuth instead of API keys to get unlimited inference on your Claude Pro/Max plan and avoid additional charges.
On your local machine, open a terminal
Run the command: claude setup token
claude setup token
This will open a browser window
Authorize Claude Code with your Claude Pro or Max account
After authorization, you'll be redirected to a page with your OAuth token
Copy the OAuth token (valid for 1 year)
Keep this token secure - you'll need it in the next step
Section 3: Configuring ClawdBot
Step 7: Run ClawdBot Onboarding
Back in your EC2 terminal, run the onboarding command:
claudebot onboard
The onboarding wizard will start
Step 8: Accept Terms and Choose Setup Mode
Read and accept the terms of service (understand that ClawdBot can execute actions on your behalf)
Type 'yes' to agree
Choose "Quick Start" for efficient setup
Step 9: Select AI Model Provider
Select your model provider from the list (Anthropic recommended)
Available options include: OpenAI, Anthropic, Google, and various other providers.
I choose Anthropic to use Claude models.
Step 10: Configure Authentication
When prompted for authentication, paste your OAuth token (from Step 6)
Select your preferred Claude model (Claude Sonnet 4.5 recommended for best performance)
You can choose a lower-tier model if you want to conserve tokens
Section 4: Connecting Messaging Platform
Step 11: Link WhatsApp
Security Recommendation: For maximum security, use a second WhatsApp number with a service like Numero rather than your personal number.
When prompted, choose to link WhatsApp
A QR code will appear in your terminal
Open WhatsApp on your phone
Go to Settings > Linked Devices > Link a Device
Scan the QR code displayed in your terminal
Step 12: Configure Skills (Optional)
ClawdBot offers 22+ skills that extend its capabilities. You can configure these during setup or add them later.
When asked if you want to configure skills, type 'yes'
Select skills you want to enable (e.g., npm, Eight Sleep, Google Drive, etc.)
Skip API key configuration for now unless you have specific integrations ready
You can always add more skills and MCP servers later
Section 5: Launching ClawdBot
Step 13: Choose Interface Mode
ClawdBot can run in two modes:
TUI (Terminal UI): Recommended for EC2 instances, runs in the terminal
Web UI: More interactive, better for local installations
When prompted, choose your preferred interface
For EC2, select TUI by typing the appropriate option
Step 14: Complete Setup and Launch
Restart the service when prompted
ClawdBot will initialize and connect to your messaging platform
You should see a confirmation message indicating successful connection.
The onboarding is now complete
Section 6: Using ClawdBot
Testing Your Installation
Now that ClawdBot is running, test it by sending a message through your connected messaging platform:
Open WhatsApp on your phone
Find the ClawdBot conversation (it should appear automatically)
Send a simple test message like "Hello" or "What can you do?"
ClawdBot should respond within seconds
Example Use Cases
ClawdBot can help you with various tasks:
- Email Management: "Send an email to John about the meeting tomorrow"
- Appointment Booking: "Book a hair appointment for next Tuesday at 3pm"
- Flight Check-in: "Check me in for my flight tomorrow"
- Research Tasks: "Research the best restaurants in Dubai and create a list"
- Code Generation: "Create a simple to-do app and save it to my GitHub" -_ Presentation Creation:_ "Make a presentation about AI trends"
Troubleshooting
Best Practices and Security Tips
Security Recommendations
- Use a separate WhatsApp number: Consider using a second number via Numero or similar services to isolate ClawdBot from your personal communications
- Run in the cloud: AWS EC2 provides better security than running locally as it limits ClawdBot's access to your personal files
- Use OAuth authentication: This provides unlimited inference on your Claude plan without additional API costs
- Review permissions: Carefully consider which skills and integrations you enable
- Monitor activity: Regularly check what actions ClawdBot is taking on your behalf
- Optimization Tips
- Start with essential skills and add more as needed
- Use clear, specific instructions when communicating with ClawdBot
- Test ClawdBot's capabilities with simple tasks before complex workflows
- Keep your EC2 instance updated for security and performance
Conclusion
Congratulations! You have successfully installed ClawdBot on your AWS EC2 instance. Your AI agent is now running 24/7 and ready to assist you with various tasks through your messaging platform.
ClawdBot represents a significant step forward in AI automation, allowing you to delegate tasks that would otherwise require manual effort. As you become more familiar with its capabilities, you'll discover new ways to integrate it into your daily workflow.
Next Steps
- Explore additional MCP servers and skills to extend functionality
- Experiment with different types of tasks to understand ClawdBot's capabilities
- Join the ClawdBot community to share experiences and learn from other users
- Stay updated on new features and improvements
Additional Resources
ClawdBot Documentation: Check the official documentation for detailed feature guides
AWS EC2 Documentation: https://docs.aws.amazon.com/ec2/
Claude API Documentation: https://docs.anthropic.com/
https://www.linkedin.com/in/sevimdurmus/
https://aiandtech.cloud/
















Top comments (0)