Some test text!

Loading...
Guides
Add a license key

Add license key

No trial license key required.
The trial of PDFTron SDK works without a license key. A commercial license key is required for use in a production environment. Please fill out our licensing form if you do not have a valid license key.
Keep your commercial license key confidential.
License keys are uniquely generated. Please make sure that it is not publicly available (e.g. in your public GitHub).

A watermark will be visible when no license key is entered and will be removed when you enter a valid license key.

Passing into constructor

In your WebViewer constructor pass either the licenseKey or l option with your license key as a string.

For example if your license key is

Company info::The PDFTron license info::Testing::More info::123

then you would call:

WebViewer({
  licenseKey: 'Company info::The PDFTron license info::Testing::More info::123',
  path: '...'
}).then((instance) => {

})

Please make sure you’re using the entire key string, but with no extra whitespace included (i.e. at the end, which can happen when you copy/paste out of an email or the website)

WebViewer Server additional information

When deploying WebViewer Server you will also need to apply your license key on the server side. Follow the instructions at this page for more information.

Custom Server (XOD) additional information

XOD files have their watermark applied at conversion time so you will need to pass your license key to PDFNet.initialize wherever you are using the server side PDFTron SDK to convert your files. Note that it is not necessary to pass the license key to the WebViewer constructor when viewing XOD files.

Get the answers you need: Support

UPCOMING WEBINAR: Live tech update and run-through. October 21 @ 11am PDT