This is a reference application showcasing the integration of CometChat's JavaScript Calls SDK in a React project. It demonstrates how to implement real-time voice and video calling features with ease.
Sign up for a CometChat account to obtain your app credentials: App ID, Region, and Auth Key
- Node.js 18 or higher
-
Clone the repository:
git clone https://github.com/cometchat/calls-sdk-javascript.git
-
Change into the sample app's directory:
cd sample-apps/cometchat-calls-sample-app-react -
Run
npm installto install the dependencies. -
[Optional]Configure CometChat credentials:- Open the
useAppStore.tsfile located atsrc/store/useAppStore.tsand enter your CometChatappId,region, andauthKey:appId: 'YOUR_APP_ID', authKey: 'YOUR_AUTH_KEY', region: 'YOUR_REGION',
- Alternatively, you can enter your credentials on first launch via the in-app credentials screen.
- Open the
-
Run the app:
npm run dev
For issues running the project or integrating with our UI Kits, consult our documentation or create a support ticket. You can also access real-time support via the CometChat Dashboard.




