# Generating an API token

### How to generate an API token

1. Select My Profile from the registry header dropdown.

<figure><img src="https://1464151032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIXci0eiRxXA0UhVYnwA2%2Fuploads%2FZ5BgjkFuL85LsOS9KeiU%2Fimage.png?alt=media&#x26;token=9b1407d9-8f13-4534-9383-9f05b573f129" alt=""><figcaption></figcaption></figure>

2. Select API Token Management.

<figure><img src="https://1464151032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIXci0eiRxXA0UhVYnwA2%2Fuploads%2FlHf9WsOQCwNZ0XdveB5G%2Fimage.png?alt=media&#x26;token=f4c883d7-8863-4d49-9519-090b0182d256" alt=""><figcaption></figcaption></figure>

3. Select Generate New Token.

<figure><img src="https://1464151032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIXci0eiRxXA0UhVYnwA2%2Fuploads%2FHax7DFXF7gKp1YdHrEB8%2Fimage.png?alt=media&#x26;token=033050a0-2cb3-44c7-87d6-4270b0dec257" alt=""><figcaption></figcaption></figure>

3. Adjust the Name and Expiry date fields as desired.

<figure><img src="https://1464151032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIXci0eiRxXA0UhVYnwA2%2Fuploads%2FOtrYtT77crywv8nn4rSY%2Fimage.png?alt=media&#x26;token=d5bce7a8-a3ab-4726-be25-19d7848ef1b5" alt=""><figcaption></figcaption></figure>

3. Adjust the permissions to read and write as desired.

<figure><img src="https://1464151032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIXci0eiRxXA0UhVYnwA2%2Fuploads%2F2aC57aTNE2OKFNvOsh8r%2Fimage.png?alt=media&#x26;token=24381ffe-f14c-4a37-adf7-0778c1077727" alt=""><figcaption></figcaption></figure>

3. Select Create Token.

<figure><img src="https://1464151032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIXci0eiRxXA0UhVYnwA2%2Fuploads%2FBTejdivwlCGjykLM1WXi%2F1.PNG?alt=media&#x26;token=1306756c-d07a-44d0-9fe4-1f5a6f8228f5" alt=""><figcaption></figcaption></figure>

6. Your API key will be generated, along with instructions on how to use it, and examples. Save it somewhere, as it will not reappear if you go back or close the web page.

<figure><img src="https://1464151032-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIXci0eiRxXA0UhVYnwA2%2Fuploads%2FLOrHvsCr5wXuEfUVxOhS%2Fimage.png?alt=media&#x26;token=bb7cb59f-dce1-494d-b354-4566d66ddadb" alt=""><figcaption></figcaption></figure>
