How to create a YouTube live streaming app with Bubble – Part 1

Start building a live-streaming app that broadcasts directly to YouTube with Bubble and the free Daily Video Conferencing Plugin. This part 1 guide covers the initial setup, plugin installation, and essential privacy configurations to kick off your streaming app.

How to create a YouTube live streaming app with Bubble – Part 1
Do not index
Do not index
Welcome to Part 1 of building a live-streaming app that broadcasts to YouTube using Bubble and the free Daily Video Conferencing & Chat Plugin. This guide walks you through setting up your app, installing the plugin, and configuring privacy rules to get started with live streaming.
 
Let’s get started! If you’re familiar with Bubble basics, jump to the plugin setup section or begin from the top.
While the guide walks you through each step, you can also explore a finished version in the sample editor. Please note that, for security, sign-ups are disabled and API keys have been removed.

Prerequisites

To get started, you’ll need:
  • A Daily account with a credit card added as live streaming requires pay-as-you-go credits
  • A YouTube account

1. Create a new Bubble app

 
Go to Bubble.io, log in, and select Create an app. Name your app (e.g., “YouStreamly”), select a blank template, and click Get started.
 
notion image
 
⚠️
Note: You can skip the Application Assistant to keep the setup simple.

2. Install the Daily Video Conferencing & Chat plugin

In your Bubble app, open the Plugins tab and then select Add plugins
notion image
 
 
 
Search for Daily Video Conferencing and Chat Plugin and click Install. This plugin will power our live streaming functionality.
notion image
 
 
Go to your Daily dashboard’s developer tab, copy your API key,
notion image
 
Paste it into Bubble’s API key slot with Bearer (capital B) prefixed to it
 
notion image
 
 
⚠️
Note: Keep your API key secure, as it grants access to your Daily account.

3. Set up a stream data type

The stream data type will hold information about your streams.
 
Open the Data tab and create a new data type called Stream.
notion image
 
Add the following fields to Stream:
  • name (text)
  • owner token (text)
  • room id (text)
  • room name (text)
  • room URL (text)
  • rtmp URL (text)
  • stream key (text)
  • user (User)
 
notion image

4. Define privacy rules

Since you’ll store sensitive streaming details, it’s important to protect this information with privacy rules.
Go to the Privacy tab and create a rule called “stream privacy.”
notion image
 
 
 
Set rules so that only the stream’s creator can view all fields. For other users, limit access to only the name, room url, and Slug.
 
notion image
 
Keep in mind, that anyone with access to your Bubble app’s database can view the stream key. If your app requires stricter security, consider encrypting this data to protect it further.
 

Wrap-Up

Nice work! 🎉 You’ve set up your Bubble app, added the Daily Video Conferencing Plugin, and configured your data structure—key steps to kick off your live-streaming app.
 
Next up, we’ll dive into Part 2: Designing Your Home Page and Stream Workflows, where you’ll start bringing your app’s interface and core streaming features to life.
 

We build third-party apps and integrations

Partner with us →

Written by

Lola
Lola

Lola is the founder of Lunch Pail Labs. She enjoys discussing product, SaaS integrations, and running a business. Feel free to connect with her on Twitter or LinkedIn.