---
product: "AG Grid"
title: "Installing Your Licence Key"
description: "Validate your licence key and configure your application. See sample code and example projects to learn how to install your AG Grid Enterprise products."
enterprise: true
framework: angular
version: "36.2.0"
related:
    - title: "Installation"
      url: "https://www.ag-grid.com/archive/36.2.0/angular-data-grid/installation/"
    - title: "Registering Modules"
      url: "https://www.ag-grid.com/archive/36.2.0/angular-data-grid/modules/"
    - title: "Development Validation"
      url: "https://www.ag-grid.com/archive/36.2.0/angular-data-grid/dev-validation/"
    - title: "Migration"
      url: "https://www.ag-grid.com/archive/36.2.0/angular-data-grid/migration/"
    - title: "Codemods"
      url: "https://www.ag-grid.com/archive/36.2.0/angular-data-grid/codemods/"
llms: "https://www.ag-grid.com/archive/36.2.0/llms.txt"
---

# 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/archive/36.2.0/angular-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/archive/36.2.0/angular-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/archive/36.2.0/angular-data-grid/license-install/) to include Integrated Charts.

### Add Your Dependencies

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

```json
dependencies: {
    "ag-grid-angular": "36.2.0",
    "ag-grid-enterprise": "36.2.0"
}
```

Or install using npm:

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

### Set Up Your Application

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

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

ModuleRegistry.registerModules([AllEnterpriseModule]);

LicenseManager.setLicenseKey("YOUR_LICENSE_KEY");

@Component({
  selector: 'app-root',
  standalone: true,
  imports: [AgGridAngular],
  template: 
  `<ag-grid-angular
      [rowData]="rowData"
      [columnDefs]="columnDefs"
    />`,
})
export class AppComponent {
 /* Class implementation */
}
```

> **Note**
>
> To minimise bundle size, only register the modules you want to use. See the [Selecting Modules](https://www.ag-grid.com/archive/36.2.0/angular-data-grid/modules/#selecting-modules) docs for more information.

> **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/archive/36.2.0/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 |
| --- | --- | --- |
| [Angular CLI](https://github.com/ag-grid/ag-grid-seed/tree/main/enterprise/packages/angular-cli) | angular | Angular CLI |
