# Session time in GenerateEmbedUrlForRegisteredUser

**URL:** <https://community.amazonquick.com/t/session-time-in-generateembedurlforregistereduser/29646>\
**Category:** Q&A\
**Tags:** api, developer, quick-sight\
**Created:** [May 10, 2024, 8:18am UTC](https://community.amazonquick.com/t/session-time-in-generateembedurlforregistereduser/29646 "2024-05-10T08:18:22Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![myatsan1](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@myatsan1](https://community.amazonquick.com/u/myatsan1)\
**Post date:** [May 10, 2024, 8:18am UTC](https://community.amazonquick.com/t/session-time-in-generateembedurlforregistereduser/29646/1 "2024-05-10T08:18:22Z")

</div>

To embed Quick Sight dashboard on webpage, does session time effects? If effects ,how to solve it? How to add session time to run embeded dashboard on webpage all time?

---

<div class="post-metadata">

**Author:** ![Sanjeeb2022](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/sanjeeb2022/32/20947_2.png) [@Sanjeeb2022](https://community.amazonquick.com/u/Sanjeeb2022)\
**Post date:** [May 10, 2024, 10:09am UTC](https://community.amazonquick.com/t/session-time-in-generateembedurlforregistereduser/29646/2 "2024-05-10T10:09:06Z")

</div>

Hi @myatsan1 - Welcome to AWS Quick Sight community and thanks for posting the question. When you generated the embedded URL, you can set the session time. Please see the documentation for the same.

> **[GetDashboardEmbedUrl - Amazon QuickSight](https://docs.aws.amazon.com/quicksight/latest/APIReference/API_GetDashboardEmbedUrl.html)**
>
> Generates a temporary session URL and authorization code(bearer token) that you can use to embed an Amazon QuickSight read-only dashboard in your website or application. Before you use this command, make sure that you have configured the dashboards...

Regards - Sanjeeb

---

<div class="post-metadata">

**Author:** ![myatsan1](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@myatsan1](https://community.amazonquick.com/u/myatsan1)\
**Post date:** [May 13, 2024, 1:21am UTC](https://community.amazonquick.com/t/session-time-in-generateembedurlforregistereduser/29646/3 "2024-05-13T01:21:55Z")

</div>

Thanks for the answer.  
In the document,the resulting user session is valid for 15 minutes (default) up to 10 hours (maximum).So the maximum is 10 minutes.After 10 minutes , the session is timeout and the embeded dashboard cannot be seen. How can I do to get unlimited session time to be able to allow users to see dashboard all the time without session timeout?

---

<div class="post-metadata">

**Author:** ![Sanjeeb2022](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/sanjeeb2022/32/20947_2.png) [@Sanjeeb2022](https://community.amazonquick.com/u/Sanjeeb2022)\
**Post date:** [May 13, 2024, 3:25am UTC](https://community.amazonquick.com/t/session-time-in-generateembedurlforregistereduser/29646/4 "2024-05-13T03:25:04Z")

</div>

Hi @myatsan1 - Where you are setting up the time ? I believe when you are generating the embedded URL, you need to set up time and max you can set as 10 hours.

Regards - Sanjeeb

---

<div class="post-metadata">

**Author:** ![myatsan1](https://avatars.discourse-cdn.com/v4/letter/m/eb8c5e/32.png) [@myatsan1](https://community.amazonquick.com/u/myatsan1)\
**Post date:** [May 14, 2024, 6:47am UTC](https://community.amazonquick.com/t/session-time-in-generateembedurlforregistereduser/29646/5 "2024-05-14T06:47:10Z")

</div>

Thanks for the answer.  
I am new to Quick Sight and forgive me If I am wrong.  
I want to embed real time graphical dashboard to webpage. So I want to generate the embedded URL but the max time is 10 hours.After 10 hours the session is time out and the dashboard cannot be displayed.Does it mean that I have to generate embed URL every 10 hours?Is there any way to generate embed URL session forever with one time?

---

<div class="post-metadata">

**Author:** ![Sanjeeb2022](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/sanjeeb2022/32/20947_2.png) [@Sanjeeb2022](https://community.amazonquick.com/u/Sanjeeb2022)\
**Post date:** [May 15, 2024, 2:17am UTC](https://community.amazonquick.com/t/session-time-in-generateembedurlforregistereduser/29646/6 "2024-05-15T02:17:27Z")

</div>

Hi @myatsan1 - We ideally generate the embed URL at run time when the user is navigating the page and session expired. Unfortunately you can not keep the embed URL forever. You can explore the approach of using lambda function at application side to generate the embed url and it can be automated completely.

Regards - Sanjeeb

---

<div class="post-metadata">

**Author:** ![Xclipse](https://d2orw1595917va.cloudfront.net/user_avatar/community.amazonquick.com/xclipse/32/20455_2.png) [@Xclipse](https://community.amazonquick.com/u/Xclipse)\
**Post date:** [May 21, 2024, 12:19am UTC](https://community.amazonquick.com/t/session-time-in-generateembedurlforregistereduser/29646/7 "2024-05-21T00:19:52Z")

</div>

Archived on May 21, 2024, 12:19am UTC


