Skip to main content

Connecting to OBS

The whole connection lives in one window, Connect to OBS. It opens from the status button in the editor header, top right. Until the widget has ever connected, the button reads Connect OBS and a banner "Add the widget to OBS" hangs over the canvas. Click the button or Connect on the banner.

The editor before the first connection

The window has two steps. The first is for everyone, the second is optional: alerts work without it.

Owner only

Only the channel owner sees the widget link and the password field. Moderators see the statuses but cannot change the connection.

Step 1. Add the widget to OBS​

The Connect to OBS window on first run

  1. Click Copy link. The window masks the link with dots, but the full link is copied. It works like a password, so do not show it on stream.
  2. In OBS, in the Sources box, click + and choose Browser. Name it anything, e.g. "Jeetbot".
  3. Paste the link into the URL field.
  4. Set the width and height to your scene's size, usually 1920 × 1080.
  5. Click OK.

The window notices the widget by itself: the line Waiting for the widget to connect turns into the status Working. If OBS is open it takes a few seconds. Step 2 opens once the widget connects.

Whatever you change in the editor shows up in OBS right away. You can add the same widget to several scenes and it shows the same thing everywhere.

If the link has leaked, click Change link. The old link stops working and you have to paste the new one into the OBS source.

Step 2. Control OBS from the editor​

This step is optional. With control connected, the editor can:

  • add the websites and third-party widgets you create in the editor to OBS by itself;
  • switch OBS scenes;
  • bring sources that already exist in OBS into the editor and bind components to scenes.

Text, images, video, the timer and the QR code do not need it.

Setup in OBS​

  1. In OBS open Tools → WebSocket Server Settings.
  2. Tick Enable WebSocket server and click Apply.
  3. If there is no password, tick Enable Authentication and click Generate Password.
  4. Click Show Connect Info and copy the Server Password.
  5. In the editor window paste the password into the field (the Paste button works) and click Connect OBS.

Step 2: the connection form

The address is hidden under Changed the port in OBS?. It is always localhost; only the port may change (4455 by default). If Enable Authentication is off in OBS, leave the password field empty.

You need OBS 28 or newer, where WebSocket is built in. Streamlabs Desktop has no WebSocket server, so control cannot be connected there, but alerts still work.

When everything is connected​

The window when fully connected

The window shows the scene on air, the number of scenes and the number of sources created from the editor. Change opens the password and the address. Turn off OBS control switches control off: alerts keep working and the sources the editor already created in OBS stay where they are.

While control is connected, the Add menu enables "Widget by link" and "Import from OBS", and the bottom bar gets an OBS: <scene> button for switching scenes.

What the header button shows​

The status button before the first connection

The status button when connected

ButtonMeaning
Connect OBSthe widget has never connected, start with step 1
OBS: widget not addedthe same, as moderators see it: the owner has not added the widget yet
OBS: waiting for the widgetyou copied the link and the widget has not connected yet (first run only)
Widget in OBSthe widget works, OBS control is not connected
OBS: connecting…control is on and a connection attempt to OBS is in progress
OBS · <scene>the widget works and control is connected, the scene on air is shown
OBS: wrong passwordOBS did not accept the password
OBS not respondingthe widget is online but the OBS WebSocket server does not answer: it is off, the port is wrong, OBS is older than 28 or it is Streamlabs Desktop
Widget offlinethe widget connected before and is not seen now, e.g. OBS is closed. Between streams this is normal, not an error

If something is wrong​

Wrong password​

Wrong password

Copy the password again: "Tools" → "WebSocket Server Settings" → "Show Connect Info". If you clicked "Generate Password" in OBS, the old password no longer works. Paste the new one and click Connect again.

OBS is not responding​

Check in order:

  • the "Enable WebSocket server" box is ticked and you clicked "Apply";
  • the port matches: if it is not 4455 in OBS, set yours under "Changed the port in OBS?";
  • OBS is version 28 or newer;
  • it is not Streamlabs Desktop, which has no WebSocket.

Widget offline​

Common causes:

  • OBS is closed.
  • The widget sits on a scene that is not on air and OBS was restarted. OBS does not load such a source until you switch to that scene once.
  • You changed the link. Paste the new one into the source properties in OBS and click Refresh cache of current page.
  • The source was deleted. Add it again as in step 1.