Authentication

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:

StudioCodeAPIMCP
Google✓✓✓
GitHub✓✓✓
Microsoft✓✓✓
Email link✓✓
API key✓✓✓

Sign in

  1. Run login. You should now see Choose authentication method::
    Shell
    npx veryfront login
  2. Choose Google. Your browser opens.
  3. Sign in to Google. You should now see ✓ Logged in as and your email in the terminal.
  4. Check who the CLI is. You should now see ✓ Logged in as and your email:
    Shell
    npx veryfront whoami

GitHub and Microsoft work the same way; --google, --github and --microsoft skip the list.

See the CLI reference.

Get an API key

  1. In your project, open Settings > API keys.
  2. Click New API key.
  3. Enter Support bot as the Name.
  4. Click Create API key. You should now see the key. Studio shows it once.
  5. Click the copy button beside the key.

To set its expiry, permissions or limits, see Create an API key.

Authenticate with an API key

  1. Add your key to your project's .env:
    .env
    VERYFRONT_API_KEY=vf_…
  2. Check who the CLI is. You should now see ✓ Authenticated with an API key:
    Shell
    npx veryfront whoami

Next steps