---
title: "Installing Your Licence Key"
enterprise: true
framework: javascript
version: "14.1.0"
---

# Installing Your Licence Key

Validate your licence key and set up your application. See sample code to learn how to install your AG Charts Enterprise product.

> **Note**
>
> You can test AG Charts Enterprise locally without a licence. To test in production, access support and remove the watermark & console warnings, [request a trial licence](https://www.ag-grid.com/charts/javascript/community-vs-enterprise/#request-a-30-day-enterprise-bundle-trial-licence).

## Validate Your Licence

[Validate your licence key](https://www.ag-grid.com/charts/javascript/license-install/) using the tool on this page.

### Add Your Dependencies

Copy the following dependencies into your `package.json`:

```js
dependencies: {
    "ag-charts-enterprise": "14.1.0"
}
```

> **Note**
>
> If you are using an older version of AG Charts, before v11.0.0, please see the relevant [documentation](https://www.ag-grid.com/charts/documentation-archive) for help on installing your license key

Or install using npm:

```bash
npm install ag-charts-enterprise
```

### Set Up Your Application

An example of how to set up your AG Charts Enterprise License Key:

```js
import { AgCharts } from "ag-charts-community";
import { LicenseManager } from "ag-charts-enterprise";
LicenseManager.setLicenseKey("your License Key");
```
