Streamit Laravel - Documentation

How to set up Bunny CDN quickly?

This guide explains how to connect Bunny CDN with Streamit for media storage and video streaming.

1. Create Storage Zone

Go to:

Bunny Dashboard → Storage → Add Storage Zone
SettingExample
Storage Zone Namestreamit-app
Regionde (choose nearest)

Save:

BUNNY_STORAGE_ZONE=streamit-app
BUNNY_STORAGE_ACCESS_KEY=your_storage_password
BUNNY_REGION=de

2. Create Pull Zone (CDN for storage)

Go to:

Bunny Dashboard → CDN → Add Pull Zone
Origin: Storage Zone → streamit-platform

Save:

BUNNY_PULL_ZONE=https://streamit-platform.b-cdn.net

3. Create Stream Library

Go to:

Bunny Dashboard → Stream → Add Video Library
SettingExample
Library Namestreamit-media
RegionSame as Storage (de)
Storage TypeBunny Storage

Inside this same library, copy:

BUNNY_STREAM_API_KEY=your_stream_library_api_key
BUNNY_VIDEO_KEY=your_stream_library_id
BUNNY_CDN_HOSTNAME=vz-xxxx.b-cdn.net
BUNNY_STREAM_PULL_ZONE=https://vz-xxxx.b-cdn.net

4. Add Variables in .env & Admin Panel

ACTIVE_STORAGE=bunny
BUNNY_STORAGE_ZONE=streamit-app
BUNNY_STORAGE_ACCESS_KEY=enter_your_bunny_storage_access_key
BUNNY_REGION=de
BUNNY_PULL_ZONE=https://streamit-platform.b-cdn.net

BUNNY_STREAM_API_KEY=enter_your_bunny_stream_api_key
BUNNY_VIDEO_KEY=enter_your_bunny_video_key
BUNNY_CDN_HOSTNAME=vz-xxxx.b-cdn.net
BUNNY_STREAM_PULL_ZONE=https://vz-xxxx.b-cdn.net

Set in .env file

Set in Admin panel