You need to creat 2 different processes to render guide in a browser. First process will render guide and other will handle data that is submitted through guide.
Render Guide Process:
1. Create a new process under the Process folder. Accept all of the defaults during setup of the process.
2.Drag a new activity from activity picker. Select Process/GenerateGuide Invoke operation under Guides(system) folder. If you can’t find Guides(system) folder you can retrieve it from server by Get Applications under file menu.

3. Now you can set inputs and outputs of Process/GenerateGuide Invoke operation. guidePath in Input section is a mandotary field. You have insert path of the guide that you want to render. (exp: /Applications/SampleGuide/1.0/Guide.guide)
targetURL is also a mandotary field and it is used to address the submitted data. You will insert REST endpoint of second process here.

3. In the Output section you need to insert a variable as htmlWrapper. So create a document type variable and assign it to htmlWrapper.
4. Save the process.
5. Now you can create second process that will receive submitted data. When you create the process REST endpoint also will be created automatically. Don’t forget to set it as targetURL on previous process.

6. Drag execute and generatePDFOutput operations and set inputs/outputs. Please check picture below. (If you request I can share LCA file, please comment)

7. Save process and deploy application. Now we can test it. Copy rest endpoint from render process and past it to browser. You will see an authentication window, populate it with your LC user credentials.

8. Fill in form and submit it then populated pdf will appear.
