- Browser login for local development.
- API tokens for CI, scripts, and other headless environments.
ardent login
Open your browser to authenticate with GitHub or email:ardent branch create.
Example output: one project and one connector
Example output: one project and one connector
Example output: multiple projects
Example output: multiple projects
Token login
For one-off headless login, pass a token directly:ARDENT_TOKEN environment variable in a clean CI environment. It avoids writing a session to disk and makes the job’s credential source obvious:
ARDENT_TOKEN. In CI, run on a clean runner or run ardent logout before setting ARDENT_TOKEN if you need to guarantee the environment variable is the only credential source.
In GitHub Actions:
ardent status
Check your current authentication, project, connector, and branch:Example output
Example output
ARDENT_TOKEN, status may show token-based authentication and ask you to run ardent login to refresh profile details. That is fine for CI.