What You Can Build
- One-on-one and group messaging
- Voice and video calling
- Typing indicators and read receipts
- User presence (online/offline status)
- Message reactions and threads
- File and media sharing
- Push notifications
Requirements
| Requirement | Version |
|---|---|
| npm | 8.x or above |
| Node.js | 16 or above |
Getting Started
Get your credentials
Sign up for CometChat and create an app. Note your App ID, Region, and Auth Key from the Dashboard.
Install and initialize
Add the SDK to your project and initialize it with your credentials. See Setup SDK.
Authenticate users
Log in users with Auth Key (development) or Auth Token (production). See Authentication.
Start messaging
Send and receive messages in real-time. See Send Messages.
Sample Apps
Explore working examples with full source code:React
React sample app
Angular
Angular sample app
Vue
Vue sample app
UI Kits
Skip the UI work and use our pre-built components:React UI Kit
Ready-to-use React components
Angular UI Kit
Ready-to-use Angular components
Vue UI Kit
Ready-to-use Vue components
Chat Widget
For the fastest integration, embed our Chat Widget with just a few lines of code — no SDK knowledge required.Resources
Key Concepts
Understand UIDs, GUIDs, auth tokens, and core concepts
Changelog
See what’s new in the latest SDK version
Upgrading from V3
Migration guide for V3 users
Troubleshooting
Common issues and solutions