Quick start
Run Cariosan locally and send your first message in under five minutes.
Stand up Cariosan locally and send your first message. You need Docker Engine 24+ with the Compose plugin.
Or skip Docker entirely
Sign up at dashboard.cariosan.com for a fully-managed workspace — your api_key + api_secret are waiting in the dashboard, no Docker required. See Cariosan Cloud onboarding. The rest of this quick-start is the self-host path.
Boot the stack
Download configuration files and start the service — Cariosan server, Postgres, Redis, MinIO:
The .env template works out of the box for local play. Before you put anything on the public internet, see environment variables for the secrets you must override.
Create a workspace
Every call to Cariosan happens in a workspace. Bootstrap one with the built-in CLI:
Save the credentials
The command prints an api_key and api_secret. Copy them now — the secret is only shown once.
Create users and a channel
Use the Go server SDK from your backend. This example runs as a standalone main.go:
Send a message from the browser
The TypeScript client SDK does the rest:
Tip
Open a second browser tab with Bob's JWT (issue a second token from the Go backend) and the message handler fires within ~50ms.
What's next
- Drop-in React UI — @cariosan/react ships
ChatProvider,ChannelList,MessageList,MessageInput,TypingIndicator,PresenceBadge, and matching headless hooks. Wrap your app in<ChatProvider client={client}>and the components handle subscribe/unsubscribe automatically. - Production deploy — self-hosting guide covers TLS, backup, rotation.
- Webhooks — wire push notifications and audit logs via webhook subscribers.
Was this page helpful?