OpenClaw Desktop Automation
Connect an OpenClaw gateway to Elis AI so conversations can trigger desktop tasks — browser control, file management, and app integrations like Slack, Gmail, Notion, and Excel.
Install and start the OpenClaw gateway
Download OpenClaw v2026.2+ from the OpenClaw releases page and follow the platform-specific install instructions. Then start the gateway (default port 18789):
openclaw gateway start
Verify it is running:
curl http://localhost:18789/health
# {"status":"ok","version":"2026.x.x"}Point OpenClaw at Elis AI as its LLM provider
OpenClaw needs an LLM backend. Use Elis AI's OpenAI-compatible completions endpoint. In your OpenClaw config (typically ~/.openclaw/config.yaml or the desktop settings UI):
llm: api: openai-completions baseUrl: https://<your-elis-host>/api/v1/openai apiKey: <your-elis-api-key>
Get your Elis API key from Settings → API Keys. Replace <your-elis-host> with app.tryelisai.com for hosted Elis, or your own API origin for self-hosted deployments.
Restart the gateway after saving:
openclaw gateway restart
Register OpenClaw in Elis AI
Open Settings → Integrations → Platform APIs. Find OpenClaw in the catalog (listed under the Automation category) and click Configure.
- Gateway URL — use
http://localhost:18789for a local gateway, or the LAN/public address if the gateway is on another machine. - Bearer token — create one in OpenClaw:
openclaw token create --name elis
Click Save & Test. Elis pings /health and shows a green status if the gateway is reachable.
Or via the API:
POST /api/v1/org/platform-apis
Authorization: Bearer <elis-api-key>
Content-Type: application/json
{
"id": "openclaw",
"base_url": "http://localhost:18789",
"auth_type": "bearer",
"auth_token": "<openclaw-bearer-token>"
}Test the integration in a conversation
Start a new conversation and ask Elis to perform a desktop task:
- “Open my browser and go to notion.so”
- “Draft a reply to my last email in Gmail and save it as a draft”
- “Create a new row in my tasks spreadsheet with today's date”
Elis routes desktop automation tasks to OpenClaw automatically when the request calls for it. Results are returned directly into the conversation.
Gateway URL reference
| Scenario | Gateway URL |
|---|---|
| Gateway on the same machine | http://localhost:18789 |
| Gateway on a LAN server | http://192.168.x.x:18789 |
| Cloud-hosted Elis + local gateway | Use ngrok or Cloudflare Tunnel |
Troubleshooting
- “Gateway unreachable” — confirm
openclaw gateway startis running and firewall rules allow the connection. - 401 errors — verify the bearer token matches the one from
openclaw token create. List tokens withopenclaw token list. - Tasks route but never execute — check that
llm.baseUrlandllm.apiKeyin OpenClaw config are correct, then review gateway logs:openclaw gateway logs --tail 50. - Version mismatch warning — run
openclaw --versionand upgrade to v2026.2+.
openclaw token rotate elis and update the token in Elis Settings to keep the connection secure.