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

# API keys

> Manage Merchant API keys.

Merchant API keys are managed from the merchant dashboard.

## Find API keys

1. Sign in as a merchant.
2. Open **Settings**.
3. Select **API keys**.
4. Check whether the dashboard is showing sandbox or production.
5. Copy the key your integration needs.

<img src="https://mintcdn.com/sarafaplatform/GUkd0WMKrgiIFhx8/images/product-guide/api-keys.svg?fit=max&auto=format&n=GUkd0WMKrgiIFhx8&q=85&s=9fea4a2710a0202b12285234808afd6e" alt="API keys" width="1200" height="760" data-path="images/product-guide/api-keys.svg" />

## Key types

| Environment | Use it for                                         |
| ----------- | -------------------------------------------------- |
| Sandbox     | Building, testing, and checking callback handling. |
| Production  | Live customer payments and real transfers.         |

## Key safety

* Store secret keys only on your server.
* Do not expose secret keys in websites or shared screenshots.
* Rotate keys if they may have been exposed.
* Use different keys for sandbox and production.
