How to Add Alerts and Overlays in OBS (StreamElements or Streamlabs)

By Rig Riley · Published · 5 min read

Quick answer: alerts and overlays are web pages. Build them in a free service (StreamElements or Streamlabs), copy the private widget URL, and paste it into an OBS Browser Source sized to your canvas (usually 1920×1080). Put it at the top of your Sources list, then send a test alert.

How alerts reach your viewers

Signal flow: a viewer follows or subscribes on Twitch, YouTube or Kick; the alert service such as StreamElements or Streamlabs receives the event; it plays the alert in a private widget URL; OBS loads that URL as a Browser Source; the alert is encoded into your stream.
An alert travels from the platform to the alert service, then into a Browser Source in OBS, and out to viewers.

Your alert service watches your Twitch, YouTube or Kick account for events. When someone follows, the service updates the widget page, and OBS draws that page on top of your scene. There’s no plugin to install: the Browser Source is built into OBS on Windows, macOS and the official Linux packages.

StreamElements vs Streamlabs

StreamElementsStreamlabs (web widgets)
Cost to startFreeFree (paid Ultra plan adds extras)
Where you build itDashboard → My Overlays (one overlay can hold many widgets)Dashboard → Alert Box (one URL per widget)
How it gets into OBSCopy the overlay URL into a Browser SourceCopy the widget URL into a Browser Source
Good forOne URL for your whole layoutQuick single alert box

Both work with plain OBS Studio. You don’t need Streamlabs Desktop to use Streamlabs widgets.

Step 1: Build the alert

StreamElements: open My Overlays, create a new overlay at 1920×1080, add an AlertBox widget, and choose which events trigger it (follow, sub, cheer, raid). Save it.

Streamlabs: sign in on the website, open Alert Box, choose your event types and style, and save.

Start simple: one sound, one short animation, and a short message. Loud, long alerts get old fast for viewers.

Step 2: Add it to OBS

  1. Copy the URL. In StreamElements, use the ⋯ menu → Copy URL on your overlay. In Streamlabs, use the Widget URL at the top of the Alert Box page.
  2. In OBS, select your Main scene, click + under Sources, choose Browser, and name it “Alerts”.
  3. Paste the URL. Set Width 1920 and Height 1080 to match your canvas (Settings → Video → Base Resolution).
  4. Leave the default Custom CSS. It keeps the background transparent.
  5. Click OK, then drag “Alerts” to the top of the Sources list.
Layer stack: OBS draws sources at the top of the Sources list on top. From top to bottom: alert box browser source, chat and labels overlay, webcam, game or display capture, background.
OBS draws the Sources list from bottom to top, so the alert box must sit above your camera and game.

Tip: to reuse the same alert in every scene, right-click it, choose Copy, then in each other scene use Paste (Reference). Every scene then shares one copy, so you only edit it once.

Step 3: Test it

Use the test/emulate buttons in the StreamElements or Streamlabs dashboard while OBS is open. You should see and hear the alert in the OBS preview. Check that the alert sound appears on the Desktop Audio or Browser Source meter in the Audio Mixer.

Free tool: Browser sources use CPU and GPU. If you’re on a laptop, run your settings through the OBS Settings Generator to keep some headroom.

Alerts and overlay setup checklist (PDF)One printable page: setup steps, layer order, and the fixes for alerts that don't show or have no sound.
Download PDF

Alert not showing? Quick fixes

SymptomLikely causeFix
Nothing appearsURL copied wrong, or source is below other layersCopy the URL again. Move the source to the top
Alert is cut off or tinyBrowser Source size doesn’t match the overlaySet width and height to the overlay size, e.g. 1920×1080
Works in preview, not on streamSource added to a different sceneAdd it to the live scene, or use Paste (Reference)
No alert soundBrowser Source audio muted or not routedUnmute it in the Audio Mixer. Optionally tick “Control audio via OBS”
Alert lags or stuttersBrowser Source rendering issueRight-click → Refresh, or toggle Settings → Advanced → Browser Source Hardware Acceleration and restart OBS

Keep it secure and light

  • Treat widget URLs like passwords. Anyone with the link can load your widgets. Never show the properties window on stream. If a URL leaks, look for a reset or regenerate option in your dashboard, or contact the service’s support.
  • Use fewer browser sources. Every source is a small Chrome tab. Turn on “Shutdown source when not visible” for overlays you only use in one scene.
  • Keep text readable on phones. A lot of viewers watch on small screens, so check your overlay at small size before you go live.

Next, make sure your audio is clean. Our OBS noise reduction guide takes ten minutes, and the first stream checklist covers everything else before you go live.

Frequently asked questions

Do I need Streamlabs Desktop to use Streamlabs alerts?

No. Streamlabs widgets are web pages, so they work in any OBS Studio Browser Source.

Can I use both StreamElements and Streamlabs?

You can, but connect each event type to only one of them, or viewers will see two alerts for the same follow.

Why do my alerts show a black or white box?

Usually the Custom CSS was changed. Restore the default (transparent background) in the Browser Source properties.

Do alerts work on YouTube and Kick?

Both services support YouTube events. Kick support depends on the service and the widget, so check your dashboard’s connected accounts before you build alerts for it.