# # Get Started

Foxit PDF SDK for Web Server is a Linux-based server container. It is a back-end for our Foxit-powered apps to connect to and provides a server-side rendering solution.

## # Get trial version

You can pull Foxit PDF SDK for Web Server trial image from our docker hub below:

    docker pull harbor-us.cpdf.io:4430/websdk-sr/master:latest

Get Foxit PDF SDK for Web standalone zip package from your sales representative.

## # Run Demo

- Download and unzip the client package - standalone zip (get download link for your sales representative ).

- Start web service on the root folder. See Quickly Run Samples

  Now you can run client web viewer on `IP:port/examples/UIExtension/complete_webViewer_sr`

You can also try our online demo at:https://webviewer-demosr.foxitsoftware.com/
(opens new window).

## # License

A version with trial license always prints a watermark on any rendered page. To remove the watermark, you should request a formal license from your sales representative. The license contains two files as follows:

- websdkserver_key.txt
- websdkserver_sn.txt

You need to copy the whole text string after `SN=` and `Sign=` in the above two files, and paste into the respectively required field in the `docker-compose.yml` file.

## # License Validation Check

If you have trouble to getting FoxitPDFSDKforWeb Server up, you may check if the license is valid by running the following command on your Docker terminal screen:

    # list existing docker containers in running state
    docker ps
    # list the specific container log information
    docker logs 'dockerid'
    # output your log into your current folder on host.
    docker logs 'dockerid' >> dockerlog.log
    # Filter your log to check if it contains “Library Initialize Error: 7". If yes, the license is invalid.
    cat dockerlog.log | grep 'Library Initialize Error'

If you get the return like `java.lang.Exception: Library Initialize Error: 7'` which means the license is incorrect. Double check if the license string you input is valid.

If you get the return like `INFO [com.foxit.webpdf.gsdk.GsdkDllLoader] - <GSDK Library: 7.2.0.0603>` which shows your license is working happily.