Skip to main content
This guide walks you through the complete setup: creating an account, setting up a room, adding users, and connecting the client SDK.

Prerequisites

  • Node.js 18+ installed
  • A running CollabKit server (self-hosted or managed)

1. Create an Account

Sign up at the CollabKit dashboard. This creates your organization and generates an API key.

2. Get Your API Key

Once logged in, go to Settings in the dashboard to find your Account ID and API Key.
Save both the accountId and apiKey. You’ll need them to construct the Bearer token for all API calls.

3. Create a Bearer Token

All API requests (except auth) use Bearer authentication. The token is a Base64-encoded string of accountId:apiKey:

4. Create a Room

Response

5. Create a User

Create a user in the room. This returns a JWT token that the client SDK uses for authentication:
Response
The token in the response is a JWT valid for 90 days. Pass it to the client SDK to authenticate WebSocket connections.

6. Install the Client SDK and Connect

7. Add Real-Time Features

Now that you’re connected, add collaboration features:

Next Steps

Client SDK Reference

Full API reference for all SDK modules.

Guides & Examples

Build a cursor tracking experience and more.

API Reference

Detailed HTTP API documentation.

Webhooks & Workflows

Automate server-side actions on events.