Creates a new FlexSdk Client instance.
A flex token to initialize the client
Optional
A set of options to configure the client
a Promise that resolves with the new Client instance
import { createClient } from "@twilio/flex-sdk";const client = await createClient("SDK_TOKEN", { logger: { level: "debug" }}); Copy
import { createClient } from "@twilio/flex-sdk";const client = await createClient("SDK_TOKEN", { logger: { level: "debug" }});
Creates a new FlexSdk Client instance.