# Create an account key

An account [API key](/docs/authentication.md) reaches every project in your account, so one key can serve code that works across projects. For a key that reaches one project, [create a project key](/docs/authentication/api-keys.md).

## Before you start

You need to manage your account's settings. [Sign in](/sign-in) or create an account.

## Create an account key

**Studio**

1. Open **Account settings** > **API keys**.
2. Click **Create key**.
3. Enter `Deploy bot` as the **Name**.
4. Keep **Expires** on **Never**.
5. Under **Permissions**, keep **Read** and **Write** ticked.
6. Click **Create key**. Studio shows the key once.
7. Click the copy button beside the key.
8. Click **Done**. Studio lists the key, with **This account** as its **Scope**.

Call the API with it for two of your projects, with their IDs ([Find your IDs](/docs/authentication/api-keys.md#find-your-ids)) as `PROJECT` and `OTHER_PROJECT`. You should now see the answer `200` twice:

```bash
export VERYFRONT_API_KEY=vf_…
export PROJECT=<id>
export OTHER_PROJECT=<id>
for p in $PROJECT $OTHER_PROJECT; do
  curl -o /dev/null -w "%{http_code}\n" https://api.veryfront.com/projects/$p \
    -H "Authorization: Bearer $VERYFRONT_API_KEY"
done
```

## Revoke an account key

**Studio**

1. Open **Account settings** > **API keys**.
2. Open the **⋯** menu on the key's row.
3. Click **Revoke**.
4. Click **Revoke API key**. You should now see "API key revoked", and the key answers `401`.

## Next steps

* [Create a project key](/docs/authentication/api-keys.md)
* [Connect a coding agent](/docs/mcp/connect.md)
