- iFrame Embedding
- Native React Component Embedding π
Please click on the Deploy button in the Hub.
You will need to get the JWT for the current user and the dashboard ID to render the correct dashboard. The JWT is generated by following the steps in Backend Setup. The dashboard ID could be found in the URL when you are viewing the dashboard you want to embed.Below is an example of deploying component with JWT usingΒ Clerk middleware:

Supabase Setup π
Supabase Setup π
For Supabase-specific setups, you need to include a database auth token (Refer to the Supabase API docs for more details on managing sessions and tokens.
dbAuthToken
) in the iFrame src
URL. This token is used to authenticate users and identify what RLS policies should apply to the given user.Example updated iFrame URL:- dbAuthToken: This token is the auth token you get from Supabase session retrieval.
Retrieving the Session Token
To retrieve the session token (dbAuthToken
), you can use Supabaseβs auth.getSession
method. Below is an example: