Some test text!

menu
Setupkeyboard_arrow_down

Get started with WebViewer Server

This guide will show you how to get started with a free trial of the WebViewer Server by loading a docker container instance and using it to display WebViewer on a local HTTP server. Your free trial includes unlimited trial usage and support from solution engineers.

linkSet up the server

  1. The server sample uses Docker technology, which requires Windows 10, Windows Server 2016, or a Linux distribution. In theory, any system is sufficient as long as Docker can be installed.

    Install the appropriate package from https://docs.docker.com/engine/installation/

  2. Download the WebViewer Server package.

  3. Unpack the archive and navigate to its directory.
unzip WebViewer-Server.zip -d WebViewer-Server
cd WebViewer-Server
  1. Open the docker_compose.yml file in the root directory of the unpacked archive and set the TRN_PDFNET_KEY option to your license key (you do not need to set this property if you are demoing our software):
TRN_PDFNET_KEY: 'YOUR_LICENSE_KEY'
  1. Run the command line from the unpacked archive:
sudo docker-compose up

You should be up and running at this point.

linkAccessing the demo

Once the server is running, the demo viewer app is accessible at http://localhost:8090/demo/?s

linkWebViewer integration

Once the docker container is up-and-running, then it can be used by supplying the pdftronServer and l license argument to WebViewer upon startup:

const options = {
  pdftronServer: 'http://localhost:8090/',
  licenseKey: 'Insert commercial license key here after purchase'
}
WebViewer(options, viewerElement);

Get the answers you need: Support

close

Free Trial

Get unlimited trial usage of PDFTron SDK to bring accurate, reliable, and fast document processing capabilities to any application or workflow.

Select a platform to get started with your free trial.

Unlimited usage. No email address required.