1. Sign Up
Create your WireSocket account at dashboard.wiresocket.com. Your tenant account is free. No credit card required to get started.2. Create an OAuth 2 Application
To connect to the WireSocket dataplane, a JWT access token is required. Tokens are issued through an OAuth 2 Machine-to-Machine (M2M) flow — to set this up, first create an OAuth 2 app in the dashboard.Name your app
Give your app a name that identifies the product or service connecting to WireSocket (e.g.
my-editor-prod).Set the License Region
Choose the License Region for this app. This defines where your app’s license and plan data is stored.
3. Activate a Plan
Your app cannot connect to the WireSocket dataplane until a plan is active. Open your app from the Apps list and go to the Plans tab. Select the plan that fits your needs — including Free — and click Subscribe to activate it.Only one app per account can be on the Free plan. Additional apps require a
paid plan to activate dataplane access.
4. Get an Access Token
Exchange your credentials for a JWT access token from your backend server.Access tokens are valid for 15 minutes. Use the
refresh_token to obtain
a new access token without re-authenticating. See Token
Renewal for implementation guidance.5. Connect to the Dataplane
Pass the access token when connecting your Yjs provider to the WireSocket dataplane. Two methods are supported:- WebSocket Subprotocol (Recommended)
- URL Parameter
You’re Connected
Your Yjs document is now syncing through WireSocket. Any changes made by connected clients are propagated in real-time.Token Renewal & Auth
Implement refresh token rotation and keep connections alive beyond 15
minutes.
Dataplane & Editor Setup
Handle regions, reconnection logic, and editor integration.

