Web
JavaScript Web SDK
Embed <courier-inbox> and <courier-toast> in non-React apps using Courier’s JS SDK. Initialize with clientKey and userId via window.courierConfig. Include the appropriate script version.
For non-React apps, we have a set of custom elements that you can embed in your web app.
Initialization
If you have all the necessary information to initialize the SDK when the page renders (clientKey
, userId
, etc) you can initialize the SDK like this:
Github Docs: Courier Inbox JS SDK