Dashboard SDK
Dashboard SDK
Section titled “Dashboard SDK”Dashboard Autologin
Section titled “Dashboard Autologin”To auto login pass the JWT token as a query parameter of the Dashboard URL as the following example:
https://panel.pingstreams.com/v3/dashboard/#/project/<YOUR_PROJECT_ID>/home?token=<JWT_TOKEN>Example:
https://panel.pingstreams.com/v3/dashboard/#/project/5f47e834c85eca0012c97888/home?token=JWT XYZABCEmbedded conversation info
Section titled “Embedded conversation info”You can run an embedded version of the dashboard inside an existing app using, for example an iframe, as in the following example which display the detail of a conversation (CONVERSATION_UUID starts with support-group-XYZ)
<iframe src='https://panel.pingstreams.com/v3/dashboard/#/project/<YOUR_PROJECT_ID>/request-for-panel/support-group-<CONVERSATION_ID>?token=<JWT_TOKEN'></iframe>Example:
<iframe src='https://panel.pingstreams.com/v3/dashboard/#/project/5f47e834c85eca0012c97888/request-for-panel/support-group-60afd5aba1971c00349801c1-1622819472803?token=JWT XYZABC'></iframe>It will show:
