Get Started
Setup
Initial configuration of your Streamer.bot Client instance
Enable the WebSocket Server
In Streamer.bot, navigate to
Servers/Clients > WebSocket Server
- Ensure your WebSocket Server is enabled and running, or click
Start Server
If you changed the
Host
, Port
or Endpoint
settings, make sure to follow the Custom Options directions below!Initialize a Client
Explore all client Configuration Options on the API reference page
- Initialize a new client with the
StreamerbotClient()
constructor
const client = new StreamerbotClient();
// Client is connected to ws://127.0.0.1:8080/
- That's it!
The client will automatically connect to the default WebSocket server location at
ws://127.0.0.1:8080/