Free Guide
The complete, no-BS guide. VPS → Docker → first integration. No experience needed.
You need a VPS (Virtual Private Server) to run OpenClaw 24/7. Unlike running locally, a VPS is always on, accessible from anywhere, and keeps your integrations connected around the clock.
We recommend Hostinger KVM 2 — $6.99/mo. Official 1-click OpenClaw deploy, pre-integrated AI tokens, 2 vCPU, 8 GB RAM, 30-day money back.
Get Hostinger VPS →On Hostinger? Skip Steps 2–4 below — Docker and OpenClaw are already running.
On DigitalOcean? Use the 1-Click Marketplace App — same idea.
Find your server's IP address in your Hostinger dashboard (or wherever your VPS provider shows it). Then open a terminal and connect:
ssh root@YOUR_SERVER_IP
Accept the fingerprint when prompted, then enter your root password.
Run these commands to update your server and install Docker:
apt update && apt upgrade -y curl -fsSL https://get.docker.com | sh apt install -y docker-compose-plugin docker --version
Create a directory and navigate into it:
mkdir -p /opt/openclaw && cd /opt/openclaw
Create a docker-compose.yml file with the following content:
services:
openclaw:
image: ghcr.io/nicepkg/openclaw:latest
container_name: openclaw
restart: unless-stopped
ports:
- "3000:3000"
volumes:
- ./data:/app/data
environment:
- OPENAI_API_KEY=your-api-key-here
- GATEWAY_TOKEN=your-secret-tokenStart the container:
docker compose up -d
Verify everything is running:
docker compose ps
Open http://YOUR_SERVER_IP:3000 in your browser to see the OpenClaw dashboard.
OpenClaw supports dozens of integrations. Here are the most popular ones to get started with:
Edit the GATEWAY_TOKEN in your docker-compose.yml to a long, random string. Then restart:
docker compose down && docker compose up -d
ufw allow 22 ufw allow 3000 ufw enable
Point a domain to your server IP, then install Caddy to automatically provision HTTPS certificates. This lets you access OpenClaw at https://your-domain.com instead of an IP address.
We recommend Hostinger KVM 2 — $6.99/mo. Official 1-click OpenClaw deploy, pre-integrated AI tokens, 2 vCPU, 8 GB RAM, 30-day money back.
Get Hostinger VPS →