Chat SDKs
Put Kustomer chat and the knowledge base in your website and mobile apps. Pick an SDK, compare what each platform supports, and see how identity, push and the server-side chat API fit together.
Kustomer Chat connects customers in your website or app with agents and AI assistants in Kustomer. Conversations are real Kustomer conversations: they show up in the agent's queue, run through your workflows and routing, and follow the customer across devices once you identify them.
Each SDK comes in two layers. The UI layer is a complete chat and knowledge base experience you can open with one call and style to your brand. The core layer is the headless API under it, for when you want to build your own interface.
One script tag for the chat widget, or the Core API for a custom UI in any framework.
The KustomerChat Swift module, through Swift Package Manager or CocoaPods.
com.kustomer.chat:ui and :core on Maven Central, written in Kotlin.
@kustomer/chat-react-native, wrapping the native iOS and Android SDKs.
Not building a customer-facing UI? To bring conversations from your own chat system or bot into Kustomer, use the server-side chat API.
Latest versions
What each platform supports
Where a capability says "your own UI", the prebuilt UI already handles it; the column shows whether the headless API exposes it for custom builds.
How the pieces fit
Configure chat in Kustomer
Admins set chat's appearance, greeting, business hours, assistants and knowledge base per brand in Apps › Chat. The SDKs load these settings at startup, so most changes need no app release.
Create a chat key
Every SDK uses an API key with only the
org.trackingrole. It's meant to ship in your page or app, because that role only covers what a chat customer can do. Don't add other roles to it; the mobile SDKs reject keys that have them.Add the SDK and open chat
Follow the quickstart for your platform. Out of the box, chat works for anonymous visitors.
Identify signed-in customers
Your server signs a short-lived JWT, and the SDK logs in with it, so conversations attach to the customer's profile and appear on all their devices. See Customer identity.
Add push on mobile
Upload your APNs key or Firebase service account in Kustomer and forward tokens from your app. See Push notifications.
For what happens between the SDK and Kustomer, with HTTPS requests for writes and a realtime channel for messages, typing and presence, see How chat works.
Choosing between UI and core
You can mix them: many apps use the prebuilt UI and only call core for unread counts or to start a conversation from a help button with context attached.