Fly.io

Link a Fly.io app to Rocketgraph with a read-only token so it shows on your Overview.

Connect a Fly.io app and Rocketgraph sees its machines.

Connect

  1. Open Connect and click Fly.io under Hosting and deploys.
  2. Make a read-only token: run this with flyctl. Put your organisation's slug in place of personal if the app lives in another organisation.

bash fly tokens create readonly personal

  1. Token: paste everything the command printed, starting FlyV1.
  2. Organisation: the same slug you used in the command. Defaults to personal.
  3. App: pick the app.
  4. Click Connect Fly.io. Rocketgraph checks it can see the app and counts its machines.

What Rocketgraph reads

Only GET requests to the Machines API (api.machines.dev/v1), with a read-only token:

  • /apps?org_slug=... for the App list.
  • /apps/{app}/machines to check the app and count running machines.

Known limits

  • Today Rocketgraph uses this connection to check access and list the app on your Overview.

Disconnect

Open Fly.io on the Connect page and click Disconnect Fly.io. Then revoke the token with flyctl.