Articles on: Developer

How to embed editor to my application?

There are two possible ways to allow your users to access the PDF Generator API editor. You can redirect users to the editor or display the editor in an iframe as part of your application.

Display the editor within your application


Use the Open Editor endpoint to generate a unique URL, and set it as the src parameter to an iframe. We have created an example application using Javascript and HTML in CodePen that you can find here.

How to open editor in an iframe using Javascript

How to display editor in an iframe with simple HTML

If your user is having issues with opening the editor when using iframe, make sure that your browser allows third-party cookies.

Redirect user to the editor


Use the Open Editor endpoint to generate a unique URL you can use to redirect your user. This unique URL already contains authentication information, and you don't need to provide any additional parameters.

Open Editor request

Updated on: 20/07/2023

Was this article helpful?

Share your feedback

Cancel

Thank you!