Prerequisites
- An OBS Studio installation (v28+ recommended)
- A TeamBattles account with an API key configured for the Battles Overlay
Quick Start
Add the dock to OBS
In OBS Studio, go to Docks > Custom Browser Docks. Enter a name (e.g., “Battles Overlay”) and the URL:Click Apply, and the dock panel will appear in your OBS layout.
Authorize the dock
The dock will display a 6-character authorization code. Open the link shown in the dock panel (or go to teambattles.gg/overlay/dock/authorize) and enter the code to connect the dock to your account.
Select a configuration
Once authorized, the dock loads your saved overlay configurations. Select one to start managing it.
Tabs
The dock has two tabs for different workflows:Simple Tab
The Simple tab provides the same quick game rank overlay as the Simple Overlay - select a game, enter your details, and get a browser source URL. No API key required.Full Tab
The Full tab gives you complete control over your overlay configuration:- Widget toggles - Enable or disable individual widgets
- Style controls - Accent color, opacity, theme, scale, and layout style
- Context selectors - Choose which team or organization to display stats for
- Source management - Automatically add or remove OBS browser sources (requires WebSocket connection)
OBS WebSocket Connection
The dock can connect to OBS via WebSocket to automatically manage browser sources. This means toggling a widget on in the dock will automatically create or show the corresponding browser source in your active scene.How to Connect
- In OBS, go to Tools > WebSocket Server Settings
- Enable the WebSocket server
- Click Show Connect Info to see the port and password
- In the dock panel, enter the port if it differs from the default (
4455) and click Connect - If a password is required, enter it when prompted - the password is shown in Show Connect Info
What WebSocket Enables
| Feature | Without WebSocket | With WebSocket |
|---|---|---|
| Toggle widgets | Manual browser source setup | Auto-creates sources |
| Disable widgets | Must remove sources manually | Auto-hides sources |
| URL updates | Must update each source URL | Auto-updates all sources |
The WebSocket connection is optional. Without it, the dock still functions as a configuration panel - you just need to manage browser sources manually.
Dock vs Manual Browser Source Setup
| Feature | OBS Dock | Manual Setup |
|---|---|---|
| Configuration location | Inside OBS | Browser tab |
| Widget management | Toggle on/off in dock | Add/remove browser sources manually |
| Auto source creation | Yes (with WebSocket) | No |
| Style changes | Real-time in dock | Save in editor, refresh in OBS |
| Account required | Yes | Yes (for full overlay) |
| OBS Studio required | Yes | No (works with any streaming software) |
Authorization Details
The dock uses a one-time 6-character code for authorization:- The dock generates a code and displays it in the panel
- You open teambattles.gg/overlay/dock/authorize in your browser
- Enter the code while logged into your TeamBattles account
- The dock authenticates and loads your configurations