Appearance
CLI Authentication
vant auth is the recommended way to connect the CLI to your Vantmetry account. It opens your browser, prompts you to confirm access, and automatically saves your project credentials. No manual copy-pasting of secret keys required.
Prerequisites
The CLI must be installed. See Setup & Configuration if you have not done that yet.
Running vant auth
bash
vant authThe CLI will:
- Open your browser to
vantmetry.com/app/cli/auth - Ask you to log in if you are not already signed in
- Show you which project will be authorized
- Ask you to confirm
- Automatically save credentials to
~/.vantmetry/config.json
The browser tab will close itself once authorization is complete.
What gets saved
Credentials are saved to ~/.vantmetry/config.json (see Setup & Configuration for the file format and platform paths). A new secret key is created for CLI access each time you run vant auth. You can view and revoke it from Settings > API Keys in the dashboard.
Existing projects
If you already have projects configured, vant auth will ask whether to add the new project or replace all existing ones.
Next step
See MCP Integration to connect Claude Code or Cursor to your error logs.