Skip to main content
Initialize a client with a sessionToken provided by your backend. The client is optional, but it gives you a single place to manage the integration credentials used across the SDK.
Initialize client
createClient() returns the client synchronously. Method calls on the client (for example, client.getConnection()) return a Result<T, E> you check before reading value.

Parameters

Theme

connect() accepts its own theme. Each option you set there overrides the same option here for the connect frame only.

Return value

createClient() returns a Client instance. It does not throw and does not return a Result.

Client

The client instance exposes every integration method: