Skip to main content
Install thz in the agent’s environment using the quickstart. Ask the agent to request a key for itself.
  1. Ask the agent for the verificationUrl and userCode from the output.
  2. Open the link, sign in with GitHub, and enter the code.
  3. Review the key’s permissions and choose Approve in the dashboard.
  4. Ask the agent to collect its key and check that it can read the account.
The default machines preset lets the agent start and use machines. To give the agent read access, pass --preset read-only when it requests the key. You can revoke either key on the dashboard’s API keys page. For the raw HTTP flow and key presets, see the agent authentication reference. To give an agent installation and machine instructions in one file, share the agent quickstart.