Agent Setup Guide
Follow these steps after downloading your agent from My agents.
Step 1
Buy a VPS
We recommend Hostinger — affordable, reliable, and VPS plans start at around $5–7/month.
- Go to hostinger.com and click VPS Hosting.
- Select the KVM 2 plan or higher (2GB RAM minimum).
- Choose Ubuntu 24.04 as your OS.
- Complete checkout and wait for your server credentials by email — IP address, username, password.
Step 2
Connect to your VPS
On Mac or Linux open Terminal. On Windows use PuTTY or Windows Terminal.
ssh root@YOUR_IP_ADDRESSEnter the password from your Hostinger email. You're now inside your server.
Step 3
Upload the OpenClaw file
From your local machine, upload the downloaded zip:
scp runlion-agent.zip root@YOUR_IP_ADDRESS:/root/Then on the server, unzip it:
unzip runlion-agent.zip
cd runlion-agentStep 4
Set your API keys
Inside the folder you'll find a file called .env. Open it:
nano .envFill in your keys:
ANTHROPIC_API_KEY=your_key_here
OPENAI_API_KEY=your_key_here
TELEGRAM_BOT_TOKEN=your_key_here
WHATSAPP_TOKEN=your_key_hereWhere to get each key:
- Anthropic → console.anthropic.com → API Keys
- OpenAI → platform.openai.com → API Keys
- Telegram → message @BotFather on Telegram, type
/newbot - WhatsApp → meta.com/developers → WhatsApp → API Setup
Save and exit: Ctrl + X → Y → Enter
Step 5
Install and run
chmod +x install.sh
./install.shThis installs all dependencies automatically. Once done, start your agent:
npm startTo keep it running after you close the terminal:
pm2 start index.js --name my-agent
pm2 save
pm2 startupStep 6
Verify it's live
You should see a confirmation message in your terminal. If you connected a Telegram bot, message it — it should respond within seconds.
Troubleshooting
- Agent not responding → check your API keys in
.envare correct with no extra spaces. - Port blocked → run
ufw allow 3000on your server. - Out of memory → upgrade to the KVM 2 plan on Hostinger.
- Need help → join the OpenClaw Agents Discord or email support@runlion.io.
