From 38f2bbb5cada8130115c3e1611c934465b6fc202 Mon Sep 17 00:00:00 2001 From: Roy Endo <67675319+royendo@users.noreply.github.com> Date: Wed, 16 Oct 2024 13:39:42 -0600 Subject: [PATCH] Update embedding.md (#5912) * Update embedding.md Adding a final tab on parameter to let customer know they can pass other attributes * Update embedding.md --- docs/docs/integrate/embedding.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/docs/integrate/embedding.md b/docs/docs/integrate/embedding.md index 921563f8646..d7907cdd442 100644 --- a/docs/docs/integrate/embedding.md +++ b/docs/docs/integrate/embedding.md @@ -276,7 +276,7 @@ The API accepts the following parameters: | theme | If [themes](/build/dashboards/customize.md#changing-themes--colors) are being used, the specific theme to pass to the embedded dashboard | No (set to the name of the theme) | | user_id | The id of the user to embed the dashboard for | No (only one of `user_id`, `user_email`, or `attributes` should be passed in) | | user_email | The email of the user to embed the dashboard for | No (only one of `user_id`, `user_email`, or `attributes` should be passed in) | -| attributes | Json payload to be put in the access token, used to pass attributes to the dashboard for enforcing policies. When using this make sure to pass all the attributes used in your security policy like `email`, `domain` and `admin` | No (only one of `user_id`, `user_email`, or `attributes` should be passed in) | +| attributes | Json payload to be put in the access token, used to pass attributes to the dashboard for enforcing policies. When using this make sure to pass all the attributes used in your security policy like `email`, `domain` and `admin` and any other custom attributes such as `tenantId`, `customerId`, etc. | No (It is also possible to add custom attributes here) | | ttl_seconds | The time to live for the iframe URL | No (Default: 86400) | :::tip Embedding the project vs embedding an individual dashboard @@ -379,4 +379,4 @@ export default function RillDashboard() { ### Next.js Example -You can find a different end-to-end example of embedding a Rill dashboard in a **Next.js** project in this sample [Github repo](https://github.com/rilldata/rill-embedding-example). \ No newline at end of file +You can find a different end-to-end example of embedding a Rill dashboard in a **Next.js** project in this sample [Github repo](https://github.com/rilldata/rill-embedding-example).