Skip to main content
Two ways to sign in:
  • ardent login opens your browser. Use this on your own machine.
  • ARDENT_TOKEN is an environment variable. Use this in CI and scripts.

ardent login

Your browser opens to authenticate. Back in the terminal, Ardent selects your project and connector for you if you only have one of each — so you can go straight to ardent branch create.

Tokens for CI

Set ARDENT_TOKEN and run commands normally — no login step:
When ARDENT_TOKEN is set, it always wins — even if the machine has a stored login. There’s nothing to clean up first. In GitHub Actions:
Create and revoke tokens in the dashboard under Settings > API keys. Keep them in your secret manager, and rotate any token that leaks.
For a one-off login with a token instead of the browser, ardent login --token <your-token> stores it like a normal login.

ardent status

Shows whether you’re signed in, and as whom:
If you’re authenticated only through ARDENT_TOKEN, status shows a masked token instead of profile details. That’s normal in CI.

ardent logout

Deletes the CLI’s local state file — stored login, API URL, selections, and cache. It does not revoke API tokens; do that in the dashboard.