Instructions
1. Install the plugin.
2. Add Embed element to your Bubble page and fulfil element properties. You can select your layout style, including the option to hide the header if you have your own on the app.
3. If you want to enable JWT SSO, you should first enable JWT SSO in the Bettermode admin dashboard then copy and paste the "private key" from Bettermode to the "token" property in the Bubble element. Then in the workflows tab, add an event for “Page is Loaded and Current User is Logged In”. Here add the “Generate Tribe Token” action and then save the token as a state to save on the page. Your embed element will reference this for the SSO.
Note: this assumes you have already setup user registration on your app with a field for the user name and profile picture.
4. Enjoy full access to the Bettermode platform.
View the demo and editor here:
https://stayshure-plugin.bubbleapps.io/tribe-plugin