Back to Blog
Getting Started with ClawDeploy
2024年1月15日
ClawDeploy Team
Getting Started
Tutorial
Telegram
Getting Started with ClawDeploy
Welcome to ClawDeploy! This tutorial will help you quickly deploy your first Telegram Bot to the cloud.
Prerequisites
Before you begin, you'll need the following:
- Telegram Bot Token - Get it from @BotFather
- OpenRouter API Key - Get it from OpenRouter
- ClawDeploy Account - Register on this website
Step 1: Create a Telegram Bot
- Search for
@BotFatherin Telegram - Send the
/newbotcommand - Follow the prompts to set your Bot name and username
- Save the generated Bot Token (format like
123456:ABCDEF...)
Step 2: Get OpenRouter API Key
- Visit OpenRouter
- Register or login to your account
- Go to the API Keys page
- Click "Create Key" to generate a new API Key
- Save the generated Key
Step 3: Deploy on ClawDeploy
- Login to ClawDeploy Dashboard
- Click the "New Deployment" button
- Enter your Telegram Bot Token
- Select the AI model you want to use
- Click "Start Deployment"
Step 4: Wait for Deployment
The deployment process usually takes 3-5 minutes, including:
- Creating cloud server
- Installing Docker and dependencies
- Configuring OpenClaw
- Starting the Bot service
You can view the progress and logs in real-time on the deployment page.
Step 5: Configure Your Bot
After deployment, you will receive:
- Server IP Address - For SSH management
- Gateway Token - For API calls
SSH Connection
ssh root@<server-ip>
View Bot Logs
docker logs openclaw
Restart Bot
docker restart openclaw
Common Issues
Bot not responding?
- Check if the Bot Token is correct
- View logs for errors
- Confirm the OpenRouter API Key is valid
How to change AI model?
In the Dashboard, select your deployment, click "Settings", then select a new model.
How to stop the service?
Click the "Stop" button in the Dashboard, or execute via SSH:
docker stop openclaw
Next Steps
- Check out the AI Models Guide to learn about supported models
- Join our Telegram Group for help
- View the source code on GitHub
Happy deploying! 🚀