Adding the License Key

This guide is for Web Standalone 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 PSPDFKit 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'
    ...
})