1
Configure the drawer profile
Set the SaaS app display name, colors, welcome message, model, and instructions from the SaaS app deploy page.
2
Create a channel key
Use the Embed tab to create or copy a live or sandbox publishable key for the SaaS app channel.
3
Copy the drawer snippet
Paste the drawer snippet inside your authenticated app shell or layout.
4
Pass identity when available
For signed-in users, append
endUser and a backend-signed identity JWT to the iframe src.Drawer snippet
Copy live drawer snippet emits only the right-side drawer iframe. It does not include the Chat widget launcher host scripts.The drawer snippet omits
session so production users are not pinned to a shared preview conversation.Signed-in users
For authenticated apps, build the iframesrc at runtime with the signed-in user’s stable id. If actions require customer login or trusted user identity, mint identity on your backend and append it with endUser.
HS256, including sub (must match endUser) and exp.
Environment variables
The Embed tab also shows channel key examples for app configuration:URL options
Web embed
Website widget and inline panel setup.
Manage tokens
Static and customer-login credentials for actions.