Prerequisites
- Upstash account
- Keep-alive Upstash Box
- SSH client on your local machine
Create a Box
Create a keep-alive Box in the Upstash Console. Note the Box ID (for exampleright-flamingo-14486) and your Box API key.
Upstash maintains its current OpenClaw Box walkthrough at
OpenClaw Setup.
Connect with an SSH tunnel
Forward the OpenClaw dashboard port to your local machine. Use your Box API key as the SSH password when prompted:Install OpenClaw
Check the Box’s runtime versions first, because the install command depends on the npm version:--allow-scripts=openclaw.
Run onboarding
Start the Gateway
Keep the Gateway on loopback for the SSH tunnel, then start one unsupervised process in the background:Auto-restart
Set this command as the Box init script so the Gateway restarts when the Box starts:Troubleshooting
If SSH freezes during onboarding, reconnect with a clean SSH config and keepalives:~/.ssh/config settings and keeps the tunnel active
through idle network periods.
Next steps
- Set up messaging channels: Channels
- Configure the Gateway: Gateway configuration
- Keep OpenClaw up to date: Updating
- Compare hosting options: Linux server