---
title: "Register a production domain for Nutrient Web SDK"
canonical_url: "https://www.nutrient.io/guides/web/troubleshooting/license/register-a-production-domain/"
md_url: "https://www.nutrient.io/guides/web/troubleshooting/license/register-a-production-domain.md"
last_updated: "2026-09-22T00:00:00.000Z"
description: "Step-by-step instructions for registering your production domain in the Nutrient Portal so your Nutrient Web SDK license key works correctly."
---

# Register a production domain for Nutrient Web SDK

Nutrient Web SDK checks the `Origin` of the browser tab where it’s loaded against the domain registered on your license. Registering the exact production domain your application runs on activates the license key instead of falling back to trial/watermarked mode.

## Determine your exact production domain

The domain you register must match the domain in the browser’s address bar exactly, including any subdomain. Open the JavaScript console on the page that loads Nutrient Web SDK and run:

```js

console.log(location.origin);

```

Use the value this returns — not a guess based on your marketing URL or a related domain — when you register.

If your application runs on more than one domain at once — for example, `sales.internal.example.com` and `board.internal.example.com` — [reach out to us](https://support.nutrient.io/hc/en-us/requests/new) to discuss a custom solution.

## Register the domain in the Nutrient Portal

**Steps:**

1. Log in to the [Nutrient Portal](https://my.nutrient.io/).

2. Open **Manage Licenses** and locate your Web SDK license.

3. Enter the domain you determined above, exactly as returned by `location.origin` (no protocol, no wildcard, no path).

4. Save your changes.

5. Copy the resulting license key.

## Add the license key to your application

Pass the license key when loading the SDK:

```js

NutrientViewer.load({...
  licenseKey: "your key goes here",...
});

```

For the full setup, see [adding the license key](https://www.nutrient.io/guides/web/troubleshooting/license/add-license-key.md).

Domains that end in `.local` are meant for development or intranet purposes and shouldn’t be registered as a production domain. If you’ve registered one as production, contact our [Sales team](https://www.nutrient.io/contact-sales/) to set it up correctly.

## Requesting beta domain usage or an app name for Electron

Non-production environments — development, testing, staging, QA — and non-browser deployments such as Electron don’t use the production domain flow above.

### Beta domain usage

For a development, testing, staging, or QA environment, request a beta domain instead of registering it as production. A beta domain needs a recognizable non-production indicator in its name (for example, `staging.example.com` or `app.example.dev`) to go through the fast approval path. See [beta domains](https://www.nutrient.io/guides/web/about/beta-domains.md) for the full naming rules and request steps.

### App name for Electron

An Electron application doesn’t run inside a browser tab, so it has no `Origin` for the SDK to check against a registered domain. Instead, identify it with an `appName` value in your configuration:

```js

const configuration = {
  document,
  container: "#root",

  appName: "your-electron-app-name",
  licenseKey: "your key goes here",
};

instance = await NutrientViewer.load(configuration);

```

Request the matching app name for your license through the same beta/development license request in the [Nutrient Portal](https://my.nutrient.io/) used for a beta domain. Enter your app name in place of a domain. See the [Electron getting started guide](https://www.nutrient.io/sdk/web/getting-started/other-frameworks/electron.md) for the full integration walkthrough.

## Related guides

- [License troubleshooting](https://www.nutrient.io/guides/web/troubleshooting/license-troubleshooting.md) covers common license errors, including domain mismatches.

- [Beta domains](https://www.nutrient.io/guides/web/about/beta-domains.md) covers naming rules and the request flow for non-production environments.

- [Nutrient Web SDK licensing](https://www.nutrient.io/guides/web/pspdfkit-for-web/licensing.md) covers the subscription model and domain deployment.
---

## Related pages

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

