Moltbot is a personal AI assistant you run yourself. To keep it online 24/7, the simplest approach is a VPS that stays up even when your laptop is closed.
Marcus Johnson
Site Reliability Engineer (SRE)
Jan 27, 2026
12 min read

This BrainHost guide adapts the community “full setup in ~30 minutes” flow to a clean, repeatable VPS installation: deploy Ubuntu, install Moltbot, run the onboarding wizard, connect Telegram, and secure access.

Recommended sizing:
Click here to make a direct purchase
When the VPS is ready, note your:
root or ubuntu depending on image/panel)
SSH into the server:
ssh root@YOUR_VPS_IP
Update packages:
apt update && apt -y upgrade
(Optional but recommended) Create a non-root user:
adduser clawdbot
usermod -aG sudo clawdbot
su - clawdbot
The community “30-minute setup” uses the official installer script:
curl -fsSL https://clawd.bot/install.sh | bash
This installer helps ensure Node 22+ is available and installs the latest Moltbot CLI.
If you want to see installer options:
curl -fsSL https://clawd.bot/install.sh | bash -s -- --help

Moltbot’s recommended setup is the onboarding wizard. On Linux VPS, you typically want it installed as a background service so it stays running after logout/reboot.
Run:
clawdbot onboard --install-daemon
In the wizard, you’ll generally configure:
After onboarding, the Gateway should be running.
Quick checks:
clawdbot --version
clawdbot gateway status
Moltbot’s Control UI is typically on loopback:
http://127.0.0.1:18789/Instead of exposing this port publicly, tunnel it from your laptop:
ssh -N -L 18789:127.0.0.1:18789 clawdbot@YOUR_VPS_IP
Now open on your local machine:
This keeps the dashboard private and is the recommended “remote VPS” workflow.
In Telegram:
/newbotbot)You’ll paste this token into the onboarding wizard if you selected Telegram there.

With Telegram DMs, Moltbot defaults to a pairing flow: unknown senders get a short pairing code and messages won’t be processed until you approve.
List pending pairing requests:
clawdbot pairing list telegram
Approve a pairing code:
clawdbot pairing approve telegram <CODE>
The “30-minute setup” walkthrough suggests grabbing your Telegram user ID (commonly via a helper bot like @userIDbot) and using it so only you can talk to your Moltbot.
If you use the wizard, it may ask for your user ID and apply this automatically.
If configuring manually later, look for Telegram channel settings like:
channels.telegram.dmPolicy: "pairing"Also note: pairing + allowlists are stored under ~/.clawdbot/credentials/ on the Gateway host—treat that directory as sensitive.
If you want your bot in a Telegram group:
In Moltbot config, you can enforce group safety behaviors like “require mention” and allowlists per group.
clawdbot gateway status
clawdbot logs --follow
Moltbot requires Node 22+. Verify:
node -v
Tags
Marcus Johnson
Site Reliability Engineer (SRE)
Site Reliability Engineer with expertise in monitoring and incident response.
Related Articles

How to Install Docker: Step-by-Step Tutorial
Follow this detailed Docker installation tutorial for servers. Get clear instructions, troubleshooting tips, and best practices to run Docker in minutes.

Practical VPS Guide for Engineers: From Hobby to Production
A comprehensive guide for engineers covering VPS fundamentals, virtualization stack, practical use cases, best practices for networking, storage, security, and building a production-ready system.

How to Install Nginx: Step-by-Step Tutorial for Beginners & Pros
A step-by-step guide for engineers to install the Nginx web server on a BrainHost VPS, covering both quick installation using package managers (APT/YUM) and advanced compilation from source for custom modules and optimized performance.
No Previous Article
BrainHost - A reliable VPS hosting platform offering high-performance virtual servers with advanced management capabilities.