Connection modes
OpenClaw supports two ways to connect:| Mode | How it works | Best for |
|---|---|---|
| Happy relay | Routes through your Happy CLI daemon to reach the OpenClaw gateway | Machines on your local network, behind a firewall |
| Direct | Connects directly from your phone to the OpenClaw gateway via WebSocket | Machines accessible over the internet |
Adding a machine
- In the Happy app, navigate to OpenClaw
- Tap + to add a new machine
- Choose the connection type:
- Select one of your online Happy devices from the list
- Optionally enter a gateway token or password
- Enter the OpenClaw gateway URL (e.g.,
ws://192.168.1.100:18789) - Optionally enter a token or password
Using OpenClaw
Once connected, you can:- Browse sessions — View all sessions on the machine (direct, group, or global)
- Chat — Send messages and receive streaming AI responses with markdown rendering
- Create sessions — Start new direct or global sessions
- Monitor status — See real-time connection status (online/offline) for each machine
Authentication
OpenClaw uses a challenge-response authentication flow:- The gateway sends a challenge with a nonce
- Your device signs it with its Ed25519 private key
- The gateway verifies and grants access
- A device token may be issued for future connections
Managing machines
- View machines — The OpenClaw screen shows all configured machines with their connection status
- Edit — Update connection details or credentials
- Delete — Remove a machine and its stored credentials