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 guides, where you should be provided with the license key.

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

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