CustomerId
, ContextProvider
, and UserLoginHandler
keys.
See the App Settings page for more detailed information on their usage. With each of these keys set, a user will be able to access integrated use cases or be capable of logging in if they are not already.
The following code snippet is an example of providing user credentials for allowing a user to enter integrated use cases.
UserLoginHandler
, allowing them to authorize.
Here’s a sample of what the Sign In button looks like.
Display
key enables you to perform those customizations as needed. Please see the Display Settings section for detailed information on each of the available keys.
The following code snippet shows how to add the Display key to your integration to customize the display settings of the Chat SDK.
callback
so that ASAPP can process each Chat SDK request.
The following code snippet is a ContextProvider example utilizing session expiration conditionals.
isDisplayingChat
argument).
If it’s configured to display, it prepares some event bindings through the Action API which in turn call an example metrics service.
The following code snippet shows an onLoadComplete
handler being used with the isDisplayingChat conditional and Action API.