OpenClaw's Web UI Gateway is one of its most underrated features. It gives you a browser-accessible dashboard where you can monitor your agent's activity, view live conversations, swap AI models, check health status, and adjust settings โ all without touching a terminal.
This guide covers how to set it up, secure it, and access it from anywhere.
What the Web UI Gateway Gives You
Once running, the gateway provides:
- Live conversation view โ see exactly what your agent is doing in real time
- Agent health status โ uptime, model in use, session info
- Activity log โ recent tasks completed, errors, restarts
- Model swap โ change your AI model without redeploying
- Settings management โ update config through a UI instead of CLI
Step 1: Install the Gateway as a Service
If you haven't already set up the gateway as a persistent service:
Replace YOUR_HOOKS_TOKEN with a secure random string โ this is what authenticates access to the Web UI.
Step 2: Fix the Device Pairing Issue
By default, the Web UI requires "device pairing" โ a browser must be approved by an operator before it can connect. On a fresh install, there's no operator set up, so every browser gets stuck at a pairing screen.
Fix:
This is safe because the ?token= URL parameter is the actual authentication layer โ no one without the token can access your dashboard.
Step 3: Access the Web UI
The Web UI runs on port 3000 by default. To access it:
Locally (from the server itself):
Remotely (from your laptop):
Option A โ SSH tunnel (simplest, no SSL required):
Then open http://localhost:3000/?token=YOUR_HOOKS_TOKEN in your browser.
Option B โ Expose via reverse proxy with SSL (recommended for regular use):
Install Caddy:
Create /etc/caddy/Caddyfile:
Reload Caddy:
Caddy handles SSL automatically via Let's Encrypt. Access at:
Step 4: Bookmark the URL
Once you have SSL working, bookmark the full URL including the ?token= parameter. Anyone with this URL can access your agent dashboard, so treat it like a password โ don't share it, and use a long random token.
Generate a secure token:
Keeping the Gateway Responsive
The Web UI is only useful if the gateway is actually running. The gateway can zombie (process alive, WebSocket dead) without triggering a systemd failure. To stay protected:
Common Web UI Issues
Blank page or "Loading..." โ The gateway is in zombie state. Run openclaw gateway restart.
"pairing required" โ You haven't disabled device auth yet. See Step 2 above.
Token doesn't work โ Make sure you're using the same token you passed to gateway install --token. Check it in /opt/openclaw/.env or your systemd drop-in.
Can't reach from outside the server โ Port 3000 may be blocked by your VPS firewall. Either use an SSH tunnel or open the port: sudo ufw allow 3000.
The Simpler Path
With SimplifyClaw, the Web UI Gateway is set up automatically as part of the 60-second deployment. You get a permanent HTTPS URL (yoursubdomain.simplifyclaw.com/?token=...) that works from any browser immediately โ no SSH tunnels, no Caddy config, no SSL setup.