Integrating a Dashboard into a Web Page

<< Click to Display Table of Contents >>

Navigation:  Using StreamLab > StreamLab Dashboards Overview >

Integrating a Dashboard into a Web Page

Previous pageReturn to chapter overviewNext page

You can integrate dashboards into a web page using iframes. An iframe embeds another HTML page into the current page. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe for more information on iframes, particularly on customizing their attributes.

To export a dashboard's URL for sharing in StreamLab, click the Export URL icon in the upper right corner of the dashboard:

sl_export_URL_button

In s-Dashboard, simply copy the URL from the browser in which you are viewing s-Dashboard.

<iframe> tags work similarly to <img> tags.

A very simple page would look something like the following:

<html>

<body>

<h1>My Dashboard</h1>

<!--add whatever content you want to add here-->

<iframe src="http://myserver:5590/dashboard/user/autogen/dash-2015-01-04T09:37:03.003-5cbcae" height=500>

</iframe>

<!--iframe with link to dashboard-->

</body>

</html>