OpenClaw Setup & VPS Deployment Guide — MiClaw Studio
Deploy your exported SOUL.md and openclaw.yaml on macOS, Linux, or a lightweight cloud VPS in five minutes.
1. Prepare Your Workspace Directory
Create a dedicated folder for your agent and move the two files downloaded from MiClaw Studio inside:
mkdir -p ~/agents/my-claw && cd ~/agents/my-claw
mv ~/Downloads/SOUL.md ~/Downloads/openclaw.yaml .
2. Configure Environment Variables Safely
Never hardcode API keys inside openclaw.yaml or SOUL.md. Store provider credentials in a local .env file with restricted permissions:
cat <<'EOF' > .env
MODEL_API_KEY=your_provider_key_here
TELEGRAM_BOT_TOKEN=your_bot_token_here
EOF
chmod 600 .env
3. Validate Guardrails Before First Launch
Always test your daily spend cap and skill scopes in dry-run mode first:
openclaw validate ./openclaw.yaml
openclaw run --dry-run "Summarize today's top tasks"
4. Enable Heartbeat & Messaging Bridge
Once the dry-run passes with zero policy warnings, start the daemon so your agent reports cleanly over Telegram, Slack, or WhatsApp:
openclaw daemon start --config ./openclaw.yaml
Need a different persona or tighter budget cap? Reopen the Interactive Agent Builder to regenerate your files anytime.