# 1. WebSocket Based Setup



**Recommended for Better Performance**

* Set `Config.CollaborationEditing` to `true`.
* Set `Config.useWebsockets` to `true`.
* Provide the WebSocket server URL in `Config.webSocketURL`.
* Use a secure, publicly accessible URL like one provided by Ngrok, Cloudflare Tunnel, or a self-hosted HTTPS server for optimal performance.
