The following is a simple use case for the COMPOSE mode of the Legalesign Document Viewer.
You'll need to generate an authentication token, a templateid and run the page through a service like (Live Server)[https://marketplace.visualstudio.com/items?itemName=ritwickdey.LiveServer].
We suggest running the node code legalesign-graphql-tutorial or checking one of the samples in (https://apidocs.legalesign.com/docs/graphql/oauth2/setup/).
Sign into Legalesign Console (https://console.legalesign.com/) and upload a PDF to use as a template, edit the template and note the ID in the URL:
https://console.legalesign.com/template/XHBsMWRjNWJmMzUtNTVjZS0xMWYwLWJiYjUtMDZlNDc2YTA3NTY/edit
where XHBsMWRjNWJmMzUtNTVjZS0xMWYwLWJiYjUtMDZlNDc2YTA3NTY would be the template ID you need. If you're more familiar with the GraphQL API you
can easily list the templates and their ids directly.