OpenClaw
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:

  1. Telegram Bot Token - Get it from @BotFather
  2. OpenRouter API Key - Get it from OpenRouter
  3. ClawDeploy Account - Register on this website

Step 1: Create a Telegram Bot

  1. Search for @BotFather in Telegram
  2. Send the /newbot command
  3. Follow the prompts to set your Bot name and username
  4. Save the generated Bot Token (format like 123456:ABCDEF...)

Step 2: Get OpenRouter API Key

  1. Visit OpenRouter
  2. Register or login to your account
  3. Go to the API Keys page
  4. Click "Create Key" to generate a new API Key
  5. Save the generated Key

Step 3: Deploy on ClawDeploy

  1. Login to ClawDeploy Dashboard
  2. Click the "New Deployment" button
  3. Enter your Telegram Bot Token
  4. Select the AI model you want to use
  5. 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?

  1. Check if the Bot Token is correct
  2. View logs for errors
  3. 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

Happy deploying! 🚀