A gateway is a Docker host that runs agents. One HQ workspace can have multiple gateways.Documentation Index
Fetch the complete documentation index at: https://docs.yourhq.ai/llms.txt
Use this file to discover all available pages before exploring further.
UI-driven flow
- Open Settings → Gateways.
- Select Add Gateway.
- Enter a label.
- Optionally paste a Tailscale auth key for the gateway host.
- Copy the generated installer command.
- Run it on the new host.
- Keep the dialog open until the token is consumed and the gateway appears.
Manual flow
Manual registration is useful for development or unusual deployment layouts.- Clone the repo on the gateway host.
- Copy
.env.exampleto.env. - Set a unique
GATEWAY_ID. - Point the gateway at the same Supabase project.
- Set
HOST_REACHABLE_URLfor that host. - Run:
gateways table and starts heartbeating.
Troubleshooting
If the gateway does not appear, check:- Supabase URL and service role key.
- Migration status.
- Host networking and firewall.
- Gateway logs with
docker compose logs gateway.