# Create a one-time admin token for the first operator.
via admin create alice
# Create the server-side app record and bare Git repo.
via app ensure my-api --owner alice
Lesson 1 / server terminal
Create an operator and app on the server
Mint a one-time admin token and create the app record that will receive source pushes.
via admin create prints a one-time adm_... token; copy it now because the next lesson exchanges it for workstation credentials. via app ensure is idempotent for the same app and owner, so it is safe to re-run when checking setup. Both commands run on the Via server.
via app ensure my-api --owner alice
Expected output
(?i)created|exists|ensured|my-api