> ## Documentation Index
> Fetch the complete documentation index at: https://docs.assistantscenter.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Web Sockets

> Dashboard has the Socket.io system loaded into it.

## Access

```js theme={null}
const SocketIO = Dashboard.io;
```

Important: Socket.io is only available after using the `Dashboard.init()` method.

## Usage

```js theme={null}
const test = SocketIO.of("/test");
test.on("connection", () => {
  console.log("ModuleExample socket.io connected.");
});
```

Web Socket is now accesible from the `ws://domain.com/test` if the SSL is not used with the Dashboard or `wss://domain.com/test` if it is.
