Getting started
Overview What Is DWS Viewer API? Dashboard Trial Limitations Language Support Deployment Options Security PrivacyIntegration
Overview Use With Your Backend Use Without Backend Open Document in Web SDKClient Authentication
Authentication Flow Generate a Session TokenAPI
Overview Authentication API Reference Support About NutrientOpen Document in Web SDK
To load a document from DWS Viewer API, pass the document’s session token for authentication in the configuration object passed to PSPDFKit.load()
:
NutrientViewer.load({
container: "<container>",
session: "<session_token>"
});
The <container>
placeholder in the code above should be replaced by a CSS selector or a DOM element where Nutrient Web SDK will be mounted.
The <session_token>
placeholder should be replaced by the session token obtained from the DWS Viewer API dashboard, or through its API. Session tokens are used for authenticating Nutrient Web SDK clients when connecting to DWS Viewer API.
Requirements
DWS Viewer API requires Nutrient Web SDK versions 1.1.1 or later.
More information
Refer to additional resources to learn more about Nutrient Web SDK:
- Getting Started Guides to get started with the most popular web frontends.
- Guides
- API Reference