# How to create API credentials

Follow these steps to generate an API Key to access API metrics:

1. On the **Digibee APIs** menu go to **Credentials**.
2. Click **+Create** on the **API Credentials** page.
3. Enter **Username**, **Password** and click **Save credentials**.

{% hint style="warning" %}
The Plataform adds the realm name to your username after you save it as default.
{% endhint %}

4. An API Key will be generated and will be grayed out.

{% hint style="info" %}
Please copy and save your API Key securely by clicking the copy icon. If you lose it, a new API Key must be created.
{% endhint %}

5. Click **Close**.
6. API metrics is selected by default.
7. When you finish the process, your custom URL will be displayed on the API credentials page. Copy and save it to use it later.

Check out the following video to learn more:

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F4523BaA7JfghHEYBbLWY%2Fuploads%2FAW16xhY4ZsA6WrhLTmHc%2FAPI%20credentials.mp4?alt=media&token=b4fe7e7e-f70a-4441-ae9b-8f70102c2509>" %}
Digibee APIs menu
{% endembed %}
