AI Integration Quick Reference
AI Integration Quick Reference
Prerequisites
You need your App ID and Region from the CometChat Dashboard. If you haven’t created an app yet, sign up and create one. If you’re using the Chat SDK alongside (i.e., not Standalone Calling), make sureCometChat.init() completes before calling CometChatCalls.init().
Installation
- npm
- yarn
Initialization
CallCometChatCalls.init() on app startup, after the Chat SDK has initialized (if you’re using it). The method takes a CallAppSettings object built with CallAppSettingsBuilder.
- TypeScript
- JavaScript
APP_ID and REGION with your credentials from the Dashboard.
CallAppSettings Options
Initialization Order
If you’re using both the Chat SDK and Calls SDK, initialize them in sequence:- TypeScript
- JavaScript
CometChatCalls.init() — no Chat SDK required.
Next Steps
Default Calling
Implement the complete ringing call flow
Call Session
Start and manage call sessions
Standalone Calling
Use Calls SDK without the Chat SDK
Calling Overview
Compare calling approaches and features