buttons agent setup
Register this agent under a slug and print its URLs (enrolls on first run)Synopsis
Set up this agent’s identity and public URL. One idempotent command: generates the device key on first use, enrolls with the ENROLL_TOKEN battery if the device isn’t bound yet, then registers the slug and prints its URLs. Safe to re-run — it re-points to the current tunnel. —tunnel is optional. When omitted, the tunnel is taken from a configured named webhook tunnel (buttons webhook setup), then this agent’s previously provisioned tunnel; if there’s still none, the broker provisions one and returns its run-token (saved to agent.json).Options
Options inherited from parent commands
SEE ALSO
- buttons agent - Set up this agent’s identity and public URL