Pinata Uploader for Bubble lets you upload files like images and documents directly from your site or app to Pinata using presigned URLs. Your secret PINATA_JWT key always stays server-side and is never exposed.
How to use:
Add the element and optional fields pinata_signed_urls (list of text) and pinata_network.
The user selects one or more files.
In your workflow, run Create signed upload URLs (batch) on the server, setting count to the number of files.
Provide the signed_urls from the action result to the Upload action’s pinata_signed_urls field to start the upload.
When the upload is complete, uploaded_urls will contain the IPFS gateway URLs or CIDs for private uploads. You can save these values as needed.
Server actions let you:
Pin files or JSON directly to IPFS.
List, update, and delete files or groups.
Create and manage presigned upload URLs (single and batch).
Setup:
In plugin settings, add the secret key pinata_jwt and enter your Pinata JWT.
In the plugin editor, add server-side actions as described and refer to the plugin documentation for details.
Key points:
No JWT is ever sent to the browser.
Presigned URL flow makes uploads fast and secure.
Supports file picking, uploading, and file management through Bubble workflows.
See the plugin documentation for the full guide and best practices.
Demo:
https://pinata-nft-bubble-plugin.bubbleapps.io/version-testEditor:
https://bubble.io/page?id=pinata-nft-bubble-plugin&tab=Design&name=index&elements=bTHyv