Before you begin, ensure you have:
- ClawControl installed (Installation guide)
- An API key from Hetzner Cloud or DigitalOcean
- An AI provider API key (Anthropic, OpenAI, etc.)
- A Telegram bot token from @BotFather
- Your Telegram user ID (send
/startto @userinfobot)
Launch ClawControl
Open your terminal and run:Step 1: Initialize a new deployment
Choose a template (optional)
ClawControl offers built-in templates or you can start from a blank configuration:
- Blank configuration - Set up everything manually
- Built-in templates - Pre-configured setups for common use cases
- Custom templates - Your saved configurations
Enter deployment name
Give your deployment a unique name (lowercase, alphanumeric, hyphens only):Press Enter to continue.
Select cloud provider
Choose your VPS provider:
- Hetzner - Recommended, US East (Ashburn), ~$4.99/mo
- DigitalOcean - NYC1, customizable droplet sizes starting at $12/mo
Configure provider API key
Choose to enter a new API key or use a saved one:
- Select Enter a new API key
- Paste your Hetzner or DigitalOcean API token
- Press Enter
Get your API key:
- Hetzner: Generate API Token
- DigitalOcean: Create Personal Access Token
Select droplet size (DigitalOcean only)
If you chose DigitalOcean, select your droplet size:
- s-1vcpu-2gb - 1 vCPU, 2GB RAM, 50GB SSD - $12/mo (minimum)
- s-2vcpu-2gb - 2 vCPU, 2GB RAM, 60GB SSD - $18/mo
- s-2vcpu-4gb - 2 vCPU, 4GB RAM, 80GB SSD - $24/mo
Choose AI provider
Select your AI model provider:
- Anthropic - Claude models
- OpenAI - GPT models
- OpenRouter - Multi-provider access
- Google - Gemini models
- Groq - Fast inference
Enter AI provider API key
Paste your AI provider API key:
- The prompt shows the environment variable name (e.g.,
ANTHROPIC_API_KEY) - Enter or select a saved key
- ClawControl will offer to save it for future use
Configure Telegram bot
Enter your Telegram bot token from @BotFather:Then enter your Telegram user ID for access control:
Get your user ID by messaging @userinfobot on Telegram.
Configure Tailscale (optional)
Choose whether to set up Tailscale for secure access:
- Skip - Dashboard accessible via server IP only
- Configure Tailscale - Secure private VPN access (recommended)
Step 2: Deploy to VPS
Now that your deployment is configured, it’s time to provision the infrastructure.Watch deployment progress
ClawControl will now execute all deployment checkpoints automatically:This process typically takes 5-10 minutes depending on your provider and network speed.
Authenticate Tailscale
If you enabled Tailscale, ClawControl will prompt you to authenticate:Press
Y to open your browser, log in with your Tailscale account (or create one), and authorize the device.Step 3: Verify deployment
Check deployment status
From the home screen, type You’ll see your deployment details:
/status and press Enter:Next steps
View logs
Monitor your OpenClaw instance with
/logs to stream real-time logs from the daemon.SSH access
Use
/ssh to open a terminal session directly on your server for manual debugging or configuration.Manage templates
Save your configuration as a template with
/templates for quick redeployment or to fork variations.Destroy deployment
When you’re done, run
/destroy to safely tear down the VPS and clean up all resources.Common workflows
Stream logs in real-time
SSH into your server
Edit and redeploy
Fork a deployment
Troubleshooting
Deployment fails at 'Creating VPS server'
Deployment fails at 'Creating VPS server'
Possible causes:
- Invalid API key
- Insufficient account credits
- Region quota exceeded
- Name already in use
- Verify your API key is correct and has permissions
- Check your provider account has available credits
- Try a different deployment name
- Run
/destroyto clean up any partial resources, then try again
SSH connection timeout
SSH connection timeout
The server may still be booting or there’s a network issue.Solutions:
- Wait 2-3 minutes and let ClawControl retry automatically
- Check your provider’s console to verify the server is running
- Ensure port 22 (SSH) is not blocked by firewall rules
OpenClaw daemon not running after deployment
OpenClaw daemon not running after deployment
Check the daemon status:Common issues:
- Missing or invalid API keys in environment
- Telegram token authentication failed
- Out of memory (increase server size)
Tailscale authentication not completing
Tailscale authentication not completing
If you miss the authentication window:
- SSH into your server:
/ssh - Run:
sudo tailscale up - Open the authentication URL manually
- Complete authentication
- Run:
sudo tailscale serve https / http://127.0.0.1:8888
Deployment stuck on a checkpoint
Deployment stuck on a checkpoint
ClawControl will retry failed steps up to 3 times. If a checkpoint keeps failing:
- Check the error message for specific details
- Press
Nwhen asked to retry from beginning - Use
/sshto investigate the server directly - Fix the issue manually or
/destroyand start fresh
Example deployment output
Here’s what a successful deployment looks like:Congratulations! You’ve successfully deployed your first OpenClaw instance with ClawControl.