Sign in or send a key, and the CLI, code and API act as you.
Before you start
You need a Veryfront account. Sign in or create one.
Methods
Veryfront supports these authentication methods across its surfaces:
Sign in
- Run
login. You should now see Choose authentication method::Shellnpx veryfront login - Choose Google. Your browser opens.
- Sign in to Google. You should now see
✓ Logged in asand your email in the terminal. - Check who the CLI is. You should now see
✓ Logged in asand your email:Shellnpx veryfront whoami
GitHub and Microsoft work the same way; --google, --github and --microsoft skip the list.
See the CLI reference.
Get an API key
- In your project, open Settings > API keys.
- Click New API key.
- Enter
Support botas the Name. - Click Create API key. You should now see the key. Studio shows it once.
- Click the copy button beside the key.
To set its expiry, permissions or limits, see Create an API key.
Authenticate with an API key
- Add your key to your project's
.env:.envVERYFRONT_API_KEY=vf_… - Check who the CLI is. You should now see
✓ Authenticated with an API key:Shellnpx veryfront whoami