Authenticating the backend workflow

This article discusses creating PDFs in Bubble applications (using the 'Create PDF' plugin action). If you wish to create PDFs based on a template you have designed in our template editor, please see other sections of the documentation.

As outlined in our quickstart guide, you will need to create a backend workflow to link a PDF to a specific entry in your database. This backend workflow needs to be exposed as a public API workflow.


If you wish to secure this workflow using authentication, you can follow these 3 steps:


  1. Leave the 'This workflow can be run without authentication' option on the backend workflow unchecked

This means that it will only be possible to use this backend workflow with the correct authentication.

  1. Generate an API Token in your Bubble editor

You can generate an API Token in the Settings -> API section of your editor.

  1. Add the API Token to the 'API Token (for authenticating backend workflows)' inputs

Navigate to Plugins -> DocuPotion and add your API Token to both the dev. and live versions of the 'API Token (for authenticating backend workflows)' inputs:

It will now be possible for DocuPotion to access the backend workflow used for processing the PDFs.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.