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

# Installing Your Licence Key

Validate your licence key and configure your application. See sample code and example projects to learn how to install your AG Grid Enterprise products.

## Request a Trial Licence

> **Note**
>
> You can test AG Grid 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/javascript-data-grid/community-vs-enterprise/#request-a-30-day-enterprise-bundle-trial-licence).

## Validate Your Licence

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

### Configure Your Application

The snippets below are for AG Grid Enterprise without Integrated Charts. [Use the tool on this page](https://www.ag-grid.com/javascript-data-grid/license-install/) to include Integrated Charts.

### Add Your Dependencies

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

```json
dependencies: {
    "ag-grid-enterprise": "36.1.0"
}
```

Or install using npm:

```bash
npm install ag-grid-enterprise
```

### Set Up Your Application

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

```js
import { ModuleRegistry, createGrid } from "ag-grid-community";
import { AllEnterpriseModule, LicenseManager } from "ag-grid-enterprise";

ModuleRegistry.registerModules([AllEnterpriseModule]);

LicenseManager.setLicenseKey("YOUR_LICENSE_KEY");

createGrid(<dom element>, gridOptions);
```

> **Note**
>
> To minimise bundle size, only register the modules you want to use. See the [Selecting Modules](https://www.ag-grid.com/javascript-data-grid/modules/#selecting-modules) docs for more information. If you're using the UMD bundle, you do not need to import or register the modules.

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

## Seed Repositories

Here are some seed code repositories to get you started:

| GitHub Repo | Framework | Development Environment |
| --- | --- | --- |
| [Vite - TypeScript](https://github.com/ag-grid/ag-grid-seed/tree/main/enterprise/packages/vite-typescript) | javascript | Vite |
| [Webpack 5 - JavaScript](https://github.com/ag-grid/ag-grid-seed/tree/main/enterprise/packages/webpack5-javascript) | javascript | Webpack 5 |
| [Webpack 5 - TypeScript](https://github.com/ag-grid/ag-grid-seed/tree/main/enterprise/packages/webpack5-typescript) | javascript | Webpack 5 |
