# How to Set Up a Per-Project Kendo UI for Angular License Key

## Environment

<table>
    <tbody>
        <tr>
        	<td>Product</td>
        	<td>Kendo UI for Angular</td>
        </tr>
        <tr>
        	<td>Version</td>
        	<td>Q1 2025 and later</td>
        </tr>
    </tbody>
</table>

## Description

How can I set up the Kendo UI for Angular license key on a per-project basis instead of using the global user-level configuration? This approach is useful when you work with multiple projects that require different license keys or when you prefer to keep the license configuration specific to each project.

## Solution

To configure a per-project license key:

1. [Download your license key file](https://www.telerik.com/kendo-angular-ui/components/knowledge-base/downloading-license-key) from your Telerik account. The downloaded file is named `telerik-license.txt`.

2. Copy the `telerik-license.txt` file to the root folder of your Angular project. This is the same folder that contains the `package.json` file.

3. Add the license key file to `.gitignore` to prevent committing it to source control, as this is your personal license key:

   ```gitignore
   # Kendo UI License Key
   telerik-license.txt
   ```

4. Install the `@progress/kendo-licensing` package as a project dependency if you haven't already:

   ```sh NPM
   npm install --save @progress/kendo-licensing
   ```

   ```sh YARN
   yarn add @progress/kendo-licensing
   ```

5. Run the activation command to validate and activate the license key:

   ```sh NPM
   npx kendo-ui-license activate
   ```

   ```sh YARN
   yarn run kendo-ui-license activate
   ```

The licensing mechanism will now use the `telerik-license.txt` file from your project root directory.

> Do not commit to source control: The `telerik-license.txt` file contains your personal license key and must not be committed to version control systems. Always add it to `.gitignore`.

## See Also

* [Setting Up Your License Key](https://www.telerik.com/kendo-angular-ui/components/licensing)
* [Adding the License Key to CI Services](https://www.telerik.com/kendo-angular-ui/components/licensing/ci-services)
* [Downloading Your License Key File](https://www.telerik.com/kendo-angular-ui/components/knowledge-base/downloading-license-key)
* [License Activation Errors and Warnings](https://www.telerik.com/kendo-angular-ui/components/licensing/license-errors-and-warnings)
* [Frequently Asked Questions about Your Kendo UI for Angular License Key](https://www.telerik.com/kendo-angular-ui/components/licensing/faq)
