> ## Documentation Index
> Fetch the complete documentation index at: https://docs.federalaccess.cl/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Create an API key and make your first request.

> [!NOTE]
>
> The dashboard is in Spanish. This guide shows each label in Spanish, followed by its meaning.

## Requirements

* An installation on the Plus plan. Lite installations have no API access.
* A dashboard user allowed to manage API keys, such as an installation administrator.

## Make your first request

**1. Create a key**

1. Sign in to the [dashboard](https://app.federalaccess.cl) and open your installation.
2. In the sidebar, go to **Configuración** (Settings) > **API**.
3. Click **Crear llave** (Create key).
4. In **Nombre** (Name), enter something that identifies the system that will use it, for example `ERP Acme`.
5. In **Alcances** (Scopes), check what the integration needs. Installation read access is always included.
6. Click **Crear** (Create).

**2. Store the key**

Copy the key with **Copiar** (Copy) and store it in the system that will use it, for example in an environment variable or a secrets manager.

> [!WARNING]
>
> This is the only time the full key is shown. If you lose it, revoke it and create another.

Click **Listo, ya la guardé** (Done, I saved it) to close.

**3. Call the API**

Request the installation the key belongs to:

```bash theme={null}
curl https://apex.federalaccess.cl/public/v1/installation \
  -H "Authorization: Bearer $FEDERAL_ACCESS_API_KEY"
```

If the key is valid, you get `200` with the installation's id and name:

```json theme={null}
{
  "data": {
    "id": 42,
    "name": "Torre Central"
  }
}
```

If you get `401`, check that the header looks like `Authorization: Bearer <key>` and that the key isn't revoked. See [Errors](https://docs.federalaccess.cl/en/guides/errors.md) for the other codes.

## Next steps

> [card] [Scopes](https://docs.federalaccess.cl/en/guides/scopes.md)
>
> Choose the minimum permissions for your integration.

> [card] [Rate limits and 429](https://docs.federalaccess.cl/en/guides/rate-limits.md)
>
> Keep your integration under the request limit.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.