---
product: "AG Studio"
title: "Installing a Licence Key"
description: "A licence key is validated and configured in the application."
framework: javascript
version: "3.0.0"
related:
    - title: "Installation"
      url: "https://www.ag-grid.com/studio/archive/3.0.0/javascript/installation/"
llms: "https://www.ag-grid.com/studio/archive/3.0.0/llms.txt"
---

# Installing a Licence Key

A licence key is validated and configured in the application.

> **Note**
>
> You can test AG Studio locally without a licence. To test in production, access support, and remove the watermark and console warnings, [Request a Trial Licence](https://www.ag-grid.com/studio/archive/3.0.0/license-pricing/?tab=trial).

## Validate Your Licence

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

### Configure Your Application

The snippets below assume AI features are not used. To see the snippets with AI features enabled, use the tool on [this page](https://www.ag-grid.com/studio/archive/3.0.0/javascript/licence-install/).

### Add Your Dependencies

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

```js
dependencies: {
    "ag-studio": "3.0.0"
}
```

Or install using npm:

```bash
npm install ag-studio
```

### Set Up Your Application

An example of how to set up your AG Studio Enterprise Licence Key:

```js
import { AgStudioLicenseManager, createStudio } from "ag-studio";

AgStudioLicenseManager.setLicenseKey("YOUR_LICENCE_KEY");

createStudio(<dom element>, studioProperties);
```
