---
title: "Add your license key for Nutrient Web SDK"
canonical_url: "https://www.nutrient.io/guides/web/troubleshooting/license/add-license-key/"
md_url: "https://www.nutrient.io/guides/web/troubleshooting/license/add-license-key.md"
last_updated: "2026-06-09T10:21:54.479Z"
description: "Request and provide your license key to load PDFs with Nutrient Web SDK efficiently."
---

# How to add your license key for Nutrient Web SDK

This guide is for Nutrient Web SDK only.

To use our SDK, you need to request a license key and provide it to the SDK when loading a PDF. If you don’t have a license key yet, you can proceed by not setting one, which allows you to start Web SDK in trial mode.

There are two steps involved in this:

1. Log in to our website and visit our [getting started](https://www.nutrient.io/sdk/web/getting-started/other-frameworks/javascript.md) guides, where you should be provided with the license key.

2. When calling the `load` method, provide your license key in the `licenseKey` property:

```js

NutrientViewer.load({
    licenseKey: 'your key goes here'...
})

```
---

## Related pages

- [License troubleshooting for Nutrient Web SDK](/guides/web/troubleshooting/license-troubleshooting.md)
- [❌ INCORRECT: Missing `NEXT_PUBLIC_` prefix.](/guides/web/troubleshooting/license/watermark-still-appearing.md)

