Onboarding checklist
The order below is the order the wizard uses, and it is not arbitrary: each step makes the next one possible. Every step except two can be done by your coding agent; those two belong to GitHub, which wants a person for them.
- Sign up — redeem your invite link. In a browser, or from a terminal with
hive signup '<invite link>'(see below). - Connect your agent — give it an API token and point its MCP client at Hive.
hive signupandhive loginstore a token on the machine for you; the wizard's Connect agent step mints one too. - Install the GitHub App — before registering a project, not after. See
03-github-app-and-projects. - Register the project — tell Hive which repository.
- Runner — confirm you have compute. Connect a machine of your own with the one-line install, or run on the booster allowance your tenant holds.
- First run — push a
.hive/main.starand watch it go green. - Credentials — model keys and pipeline secrets. Only needed for *agent* work; ordinary pipelines run without them.
- Team — invite the rest of your people.
Signing in from a terminal
No browser is needed on the machine. The person proves who they are at GitHub by typing a short code at github.com/login/device, on any device, and then gives the code from their authenticator app:
hive signup '<invite link>' # first time: redeems the invitehive login --url <your Hive URL> # later, on another machineA new account gets a two-factor key to add to the authenticator, then recovery codes, which are shown once. The command mints a trigger API token named after the machine and stores it where the hive CLI and the MCP extensions read it.
An agent can run this for the person. Its shell has no terminal, so each step exits after printing what the person must do:
hive signup '<invite link>' # relay the GitHub code to the personhive login --continue # waits for GitHub; the two-factor key goes to ~/.hive/login-totp.txthive login --code 123456 # the code the person reads off the authenticatorThe two-factor key is written to a file only the user can read, so it stays out of the agent's transcript; --show-secret prints it instead. --code must come within five minutes of the GitHub approval — if it is late, run hive signup again; the invite is used up only when the second factor succeeds.
Where you are right now
Ask Hive rather than guessing:
get_onboarding_stateIt answers with has_project, has_cluster_online, has_run, has_green_run, names the next action and the tool for it, and carries what the person needs for the steps that are theirs:
app_installs— per registered repository, whether the GitHub App serves it.installed: nullmeans Hive could not ask, anddetailsays why; it does not mean "not installed".github_app_install_url— the link to hand the repository owner.runner_install_command— the one-line runner installer.blocking— present until every repository is confirmed to have the App.
Call it whenever you are unsure what remains, and again after each step — it reads live state, so it is always more current than this document.
The two things that block people
The GitHub App must be installed on the account that owns the repository. Registering a project does not install anything; the two are separate actions and the wizard puts the install first for that reason. A project registered without an installation looks fine until the first webhook never arrives — get_onboarding_state shows it under app_installs.
Agent launches need your own model key. A tenant run resolves *your* tenant's model credential and never falls back to the operator's. With none configured, an agent launch fails naming the missing variable. Ordinary CI — build, test, lint — needs none of this and works immediately.
This page is the hive-docs knowledge collection your agent reads inside the product, published verbatim. Markdown version