Automatic setup
The setup wizard is the fastest path — it provisions the Bunny resources for you and prints ready-to-paste plugin options plus.env lines, with no manual dashboard steps:
Manual setup
1
Install
Requires Payload 4 and Node.js 24.15 or later. v4 is in beta under the
beta npm tag, and Payload 4 is published
under canary. @payloadcms/plugin-cloud-storage is a peer dependency: pin it to the same version as your payload
package. For Payload 3, use @seshuk/payload-storage-bunny@3.2
Configure storage
Add the adapter to the Files uploaded to the
storage array of your Payload config and map an upload collection to Bunny Storage:payload.config.ts
media collection are now stored in Bunny Storage and served from the CDN.3
Add video streaming (optional)
To route video uploads to Bunny Stream, add a With Payload access control on (the default), Stream needs
stream block. Non-video files continue to use Bunny Storage.payload.config.ts
mp4Fallback: true or signed URLs with redirect — otherwise the plugin throws at startup. See Access control and mp4Fallback.Videos now upload to Bunny Stream and expose an HLS playlist through the bunnyData field.Next steps
- Configuration — every option, including signed URLs, thumbnails and cache purging
- Examples — complete examples for common setups
- Client uploads — browser-direct uploads for serverless hosts and large files
- Upgrading from v3? — the v4 changes, including the
prefixcolumn migration