Prerequisites
Before you start, ensure that:- Your plan includes Tailscale. Scale and above include it. On another plan, the option shows a plan badge; click it to upgrade, or contact the Asteroid team.
-
You have a Tailscale auth key. Create one in the Tailscale admin console, under Settings → Keys:
- Reusable. The gateway runs two devices, and each joins again on every restart.
- Ephemeral (recommended). Old devices then leave the tailnet on their own.
- Tags (recommended). Tag the key, for example
tag:asteroid, and write ACLs that let that tag reach only the apps your agents need.
Set it up
- In Environments → Gateways, click New gateway and pick Tailscale.
- Name it, paste the auth key, and click Create gateway.
- Wait for Connected. The devices appear in your tailnet as
gw-followed by the gateway’s ID. - Pick the gateway on an environment.

