1
Get your publishable API key
In the ClarioDesk dashboard, create an app and
copy its publishable key, which starts with
pk_live_. This key only
authorizes a fresh install to register a device; it can’t read tickets or
impersonate users, so it’s safe to ship in your app binary.2
Install the SDK
3
Initialize once at app start
The first call generates the hardware device key and registers it. Later
launches reuse it with no network round-trip.
4
Identify the user
Call
identify() once your own auth knows who the user is. It’s metadata
only: the device key is the real identity, so this grants no access. It’s
idempotent, so call it on every launch for logged-in users.Already have signed-in users? When you add ClarioDesk to an app that is
already in use, identify those users on launch from your saved session, not
only on your login screen. Existing users rarely pass through login again,
so a login-only call leaves them unidentified. Full walkthrough:
Flutter, React Native, or
Swift.
5
Open a ticket and stream replies
Prefer not to build the UI?
Use the prebuilt chat instead: one call opens a themeable inbox. See the
prebuilt UI guide for Flutter,
React Native, or Swift.