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
Install the Plugin
Option 1: Use Precompiled Binaries (No Build Required)
1
Copy the plugin source
Copy
Plugins/CometChatSdk/ from the SDK repository into your project’s Plugins/CometChat/ directory.2
Download precompiled binaries
Download the precompiled binaries for your engine version:
- UE 5.5.4 (Mac + Windows)
- UE 5.7.2 (Mac)
3
Extract into your plugin directory
Extract the zip contents into your project’s
Plugins/CometChat/ directory (merging with existing files).4
Enable the plugin
Add the plugin to your
.uproject file:5
Open your project
Open your project in Unreal Editor — no compilation needed.
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
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)