Having successfully requested a SSO key and token in your backend, you can use them in your frontend to grant your users access to view and/or edit embedded dashboards within your application!
We have different components available to support your application's frontend framework. The following resources should help in setting up the initial frontend embedding:
After successfully creating your Integration in our UI we provide you with a code snippet for the necessary frontend code for the libraries above. You can simply copy this and fill in the required properties to embed dashboards in your frontend!
You can ensure that the embedded dashboard editor's action buttons use your desired colors by specifying rgb colors (i.e. 'rgb(R, G, B)') for the mainColor and accentColor properties in your frontend! Below, you can see a code snippet for the Web component and two gifs showing how these color properties influence the dashboard editor!
<luzmo-dashboard
appServer="< https://app.luzmo.com (default) or https://app.us.luzmo.com/ or your VPC-specific address >"
dashboardId="< a dashboard id >"
authKey="< SSO key >"
authToken="< SSO token >"
mainColor="rgb(0, 157, 255)"
accentColor="rgb(255, 165, 0)"
editMode="editLimited">
</luzmo-dashboard>
Changing the mainColor property will influence the color used for the "Add item", "Dashboard" and side menu buttons.
Changing the accentColor property will influence the color used for the "Add dataset" button.
After setting up the basic frontend embedding code, make sure (certain) dashboards can be opened in a specific edit mode. This is where the editMode property comes into play! Below, you can find a small flow diagram to facilitate setting the right edit mode, and after that, a short explanation of each edit mode is given, together with the steps required to load / switch to it!
View mode enables your users to view and interact with an embedded dashboard, without having the option to change the dashboard itself! This is useful for dashboards that you fully manage for your users (i.e. they should only be able to view and interact with these embedded dashboards).

The editLimited mode is useful if you have your own dashboard navigation in your application (e.g. a sidebar containing dashboard tabs or a dropdown) and would like the user to edit (some of) the dashboards (e.g. by adding an “Edit” button that toggles the editMode between “view” and “editLimited” mode).
When switching from view mode to editLimited mode:

The last mode is the editFull mode: this is useful if you have a dedicated place in your application, where users should be able to create & edit all their accessible dashboard(s) (e.g. in your navigation bar, you have a “Dashboard editor” tab that should show the embedded dashboard editor). In editFull mode, the editor will provide navigation to new or other accessible dashboards!

Congratulations: you successfully went through the few steps needed to set up the embedded dashboard editor! 🎉
The next article will explain how you can dynamically create your dashboard navigation, based on the dashboards accessible to your user.