# Create an API key

To create an API key in Unitlab:

1. Log in to Unitlab: [https://app.unitlab.ai](https://app.unitlab.ai/)
2. Click **API Keys** in the left sidebar.
3. Click the **New Key** button.

<figure><img src="https://1366014570-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FVY6yJqW9wWHP6u0XYu5Q%2Fuploads%2Fio82oNybwEZbxj9fxztF%2FCreate%20an%20API%20key.webp?alt=media&#x26;token=263d219e-af7b-4955-b439-bfe2f894014d" alt=""><figcaption></figcaption></figure>

Your API key will be generated with a unique API ID and the API key. Copy and use your newly created API key to authenticate with the Unitlab.

**Tips:**

* Keep your API keys secret. Do not share them with anyone else.
* Create a new API key if you need to revoke access to your Unitlab account.

**Additional information:**

* API keys are used to authenticate with the Unitlab API.
* API keys can be used to access all of the Unitlab API endpoints, including the CLI and Python SDK.
* API keys can be revoked by deleting or disabling them at any time.
