Documentation Index
Fetch the complete documentation index at: https://www.cometchat.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
Get your Application Keys
Sign up for CometChat and then:- Create a new app
- Head over to the API & Auth Keys section and note the Auth Key, App ID, and Region
Prerequisites
Supported Platforms
| Engine Version | Platforms |
|---|---|
| UE 5.5.4 | Mac, Windows |
| UE 5.7.2 | Mac |
Install the Plugin
Option 1: Use Precompiled Binaries (No Build Required)
Copy the plugin source
Copy
Plugins/CometChatSdk/ from the SDK repository into your project’s Plugins/CometChat/ directory.Download precompiled binaries
Download the precompiled binaries for your engine version:
- UE 5.5.4 (Mac + Windows)
- UE 5.7.2 (Mac)
Extract into your plugin directory
Extract the zip contents into your project’s
Plugins/CometChat/ directory (merging with existing files).Option 2: Build from Source
- Copy
Plugins/CometChatSdk/from the SDK repository into your project’sPlugins/CometChat/directory - Regenerate project files and build
Add Module Dependency
In your game module’s.Build.cs file, add the CometChat module as a dependency:
Verify the Plugin
After installation:- Open your project in the Unreal Editor
- Go to Edit → Plugins
- Search for CometChat — it should appear and be enabled
The plugin loads at the PreDefault phase, so it’s available before your game module initializes.
Initialize CometChat
TheCometChatSubsystem is a UGameInstanceSubsystem — it’s created automatically when your game starts. You just need to call Configure with your App ID and Region before using any other SDK methods.
- Blueprint
- C++
- In any Blueprint, get a reference to the CometChat Subsystem via
Get Game Instance→Get Subsystem→ selectCometChatSubsystem - Call the Configure node with your App ID and Region
| Parameter | Type | Description |
|---|---|---|
| App Id | FString | Your CometChat App ID |
| Region | FString | Your app region (us or eu) |
YOUR_APP_ID with your actual CometChat App ID.
Plugin Architecture
The plugin provides:UCometChatSubsystem— Game instance subsystem for CometChat operations- Async Blueprint actions — for login, logout, send message, fetch messages, groups
CometChatEventBridge— Real-time event callbacksCometChatGroupChatBox— Ready-to-use group chat UI widget- Native C++ chat SDK via
ThirdParty/chatsdk/(prebuilt static libraries)