# How authentication works

People sign in, code sends an API key, and apps such as coding agents sign in for a person with OAuth.

## Before you start

You need a Veryfront account. [Sign in](/sign-in) or create one.

## Three ways in

| Who                  | Signs in with                                                 | Details                                               |
| -------------------- | ------------------------------------------------------------- | ----------------------------------------------------- |
| A person             | Google, GitHub, Microsoft or an email link                    | [Sign in](/sign-in)                                   |
| Code                 | An API key, as `Authorization: Bearer` or `VERYFRONT_API_KEY` | [Create an API key](/docs/authentication/api-keys.md) |
| An app, for a person | OAuth, after the person clicks **Authorize**                  | [Connect a coding agent](/docs/mcp/connect.md)        |

The [authentication reference](/docs/reference/authentication.md) has every interface's details.

## Choose a task

| You want to                         | Go to                                                           |
| ----------------------------------- | --------------------------------------------------------------- |
| Give your code access               | [Create an API key](/docs/authentication/api-keys.md)           |
| Let a key call only some models     | [Limit an API key's models](/docs/authentication/key-models.md) |
| Stop a key or an invitation working | [Revoke access](/docs/authentication/revoke-access.md)          |

## Next steps

* [Create an API key](/docs/authentication/api-keys.md)
