Authenticating the backend workflow
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.
Please note that the authentication feature is only available on version 1.12.0 of the PDF Potion plugin (and all later versions)
If you wish to secure this workflow using authentication, you can follow these 3 steps:
- 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.
- Generate an API Token in your Bubble editor
You can generate an API Token in the Settings -> API section of your editor.
- Add the API Token to the 'API Token (for authenticating backend workflows)' inputs
Navigate to Plugins -> PDF Potion 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 PDF Potion to access the backend workflow used for processing the PDFs.