Getting started
Provision an inbox, choose a client, and send one test conversation.
1. Prepare one inbox per product
An inbox controls the allowed client origins, Discord forum and operators, default locale, and optional email sender. Use separate staging and production inboxes. All platforms of the same product can share an inbox when you want verified account history across devices.
Your integration needs three public values: the RespondKit API URL, the inbox ID, and an allowed product origin. Native apps supply the configured origin explicitly. The origin is a routing restriction; account access requires verified identity.
The deployment owner provisions these values using the repository's workspace configuration example. Never put Discord, email, or identity-signing secrets into a client.
2. Check that the feature is released
Use a published, compatible SDK version and deploy its API migrations first. For merged features that are not published yet, test a pinned repository revision or locally built package before releasing a host app. See Release and rollout.
3. Add your client
| Platform | Entry point | Guide |
|---|---|---|
| React web | RespondKitWidget | React widget |
| React Native | createRespondKitStore and RespondKitScreen | React Native |
| iOS | RespondKitStore and SwiftUI RespondKitScreen | SwiftUI and Android |
| Android | RespondKitStore and Compose RespondKitScreen | SwiftUI and Android |
Mount the web widget or native store once near your app root. Keep it alive across navigation and while its chat screen is closed, so unread indicators continue working.
Supply your authenticated user's ID and email when available. Add a backend-signed identity resolver before promising account history across browsers or devices. An anonymous customer can still chat; the UI asks for an email when one is missing.
4. Verify the support loop
Send a message from a staging client. Find the matching Discord forum thread and send /reply message:Hello from support. Confirm the reply appears in the app and the read checkmark appears in Discord after viewing it.
Then close chat while keeping the app foregrounded. Send another operator reply and confirm the unread indicator appears. Test logout and a second account before using real customer data.
5. Enable optional features
Configure email and attachments after basic messaging and identity work. Choose a localized greeting in your host app. Built-in UI localization is a separate, planned capability; passing context.locale does not currently translate the SDK's controls. See Localization.