# Generating Telerik NuGet API Keys

Use a Telerik NuGet API key to authenticate with the Telerik NuGet server without sharing your Telerik account password. An API key has limited scope and works only with the Telerik NuGet server. Delete a compromised key and generate a replacement.

1. Go to the [Telerik account API key management page](https://www.telerik.com/account/downloads/api-keys).

2. Click **Generate New Key +**.

   **Telerik account API Keys page with the Generate New Key action**

   ![Telerik account API Keys page with the Generate New Key action](https://www.telerik.com/document-processing-libraries/documentation/assets/4baa89fd71055615665e17e8beca39a0/generate-api-key.png)

3. In the **Key Note** field, add a note that describes the API key.

4. Click **Generate Key**.

   **Telerik account dialog for generating a new API key**

   ![Telerik account dialog for generating a new API key](https://www.telerik.com/document-processing-libraries/documentation/assets/09270c94efcebfc2d2e08091dfd9d320/generate-key-button.png)

5. Select **Copy and Close**. Once you close the window, you can no longer copy the generated key. For security reasons, the API Keys page displays only a portion of the key.

   **Telerik account dialog showing the Copy and Close action for a generated API key**

   ![Telerik account dialog showing the Copy and Close action for a generated API key](https://www.telerik.com/document-processing-libraries/documentation/assets/e040ac68a72a13e2402091363c4d87f8/generated-api-key-copy-close.png)

   > note The illustrated API key is used for demonstration purposes only and is not valid.

   **Telerik account API Keys page showing a newly generated NuGet API key entry**

   ![Telerik account API Keys page showing a newly generated NuGet API key entry](https://www.telerik.com/document-processing-libraries/documentation/assets/b4cb8f7d13bcf36bae44569fdfdab502/generatee-api-key.png)

   > important The API key is valid for two years.

6. Store the generated NuGet API key securely. To authenticate with the Telerik NuGet server, use `api-key` as the username and the API key as the password.

## See Also

* [Restore NuGet packages in a CI workflow](https://www.telerik.com/document-processing-libraries/documentation/getting-started/installation/nuget-keys)
* [Configure NuGet package installation](https://www.telerik.com/document-processing-libraries/documentation/getting-started/installation/install-nuget-packages)
