๐ŸŽ› Implement the LivbleWidget

How to have a fully functional LivbleWidget

๐Ÿ“˜

Make sure to have read the Embedding Livble section


There are 2 ways of loading the LivbleWidget:

๐Ÿ‘ Recommended*:* At start load the LivbleWidget without a token. Only after the widget is clicked, you will issue a tenant token from your backend with the help of our POST /portal_info request.

Alternative way: Preload the tenant token into the LivbleWidget. This approach will cause a slower time-to-load of the widget and will force you to send the tenant data to POST /portal_info prior to the user clicking the widget.



โžฟ Frontend<>Backend integration - If you are using the recommended way, make sure to implement the onWidgetClickCallback in the widget which will call your backend endpoint which will make the POST /portal_info request to then get a token back to the widget and set it with openExperienceAndSetToken


Once this step is completed you will be able to play with Widget, Experience and user flow.