---
title: "Mercury"
description: "Connect Mercury to Frihet with an API Token. Frihet checks the connection with your Mercury account."
canonical_url: "https://docs.frihet.io/en/integraciones/mercury"
language: "en"
---

# Mercury

:::note Connection
Frihet stores your Mercury API Token and checks that Mercury accepts it. Importing transactions from Mercury: Not available in Frihet.
:::

## What Frihet does

- Stores your Mercury **API Token** securely (stored encrypted).
- **Test connection** — Frihet checks the token by querying your accounts in Mercury.

## What Frihet does not do

- Import Mercury transactions as expenses or as anything else.
- Bring balances or account data into Frihet.
- Import automatically or on a schedule.
- Send data to Mercury.

## Requirements

- An active [Mercury](https://mercury.com) account
- Each connected integration counts toward your plan limit: 2 on Free, 5 on Pro, unlimited on Premium.
- A Mercury API Token

## Connect

### Step 1: get the API Token in Mercury

1. Sign in at [app.mercury.com](https://app.mercury.com).
2. Go to **Settings** and open **Developers**.
3. Generate a new token and give it a name, for example "Frihet ERP".
4. Choose read-only permissions and copy the token. Mercury shows it only once.

### Step 2: save it in Frihet

1. In Frihet, go to **Integrations**.
2. Open **Mercury**.
3. On the **Connection** tab, paste the **API Token**.
4. Click **Test connection** to verify.
5. If the test succeeds, click **Save connection**.

## Troubleshooting

### Connection error

- Check that the API Token is correct and has not been revoked.
- Check that the token has read permissions.
- If you regenerated the token in Mercury, save the new one.

## Next steps

- [Wise](./wise)
- [Connect Qonto if you use European business banking](./qonto)
- [Learn how to categorize imported expenses](../gastos/categorias)
