A GitHub link has been provided to get the sample application, which demonstrates the rendering of dashboard available in your Bold BI server and followed by steps to create a new embedding application in the
Java Servlet on your own.
NOTE: The best way to get started would be reading the Getting Started section of the documentation. The
Getting Startedguide gives you enough information that you need to know before working on the sample.
Please get the Java Servlet project from this link.
You need to set your embed property details in the
|SiteIdentifier||For Bold BI Enterprise edition, it should be like
|RootUrl||Dashboard Server BI URL (ex: http://localhost:5000/bi, http://demo.boldbi.com/bi)|
|Environment||Your Bold BI application environment. (If Cloud, you should use
|DashboardId||Set the item id of the dashboard to embed from BI server.|
|UserEmail||UserEmail of the Admin in your Bold BI, which would be used to get the dashboard details from the BI server|
|EmbedSecret||You could get your EmbedSecret key from Embed tab by enabling
You can get your Embed Secret key from the administrator setting section. Please refer to this link for more details.
Run your Java Servlet project.
Based on the
dashboardId provided in the
index.jsp, authorize the server by calling the
doPost function using the
AuthorizeURL(http://localhost:8080/BoldBIEmbed/BoldBI.do) with the provided EmbedProperties values.
In the above authorization, generate the SignatureURL with the provided EmbedSecret key and embed details, which can be validated in the Bold BI Server API, and returns the token. Based on the returned token, the dashboard will be started to render in the
index.jsp, change the dashboard Id of the respective dashboard based on your requirement.