function renderPinboard() {
    var boldbiEmbedInstance = BoldBI.create({
        serverUrl: rootUrl + siteIdentifier,
        pinboardName: name,
        embedContainerId: "dashboard-container",// This should be the container id where you want to embed the dashboard
        embedType: BoldBI.EmbedType.Component,
        environment: BoldBI.Environment.Enterprise, // If Cloud, you should use BoldBI.Environment.Cloud,
        height: "800px",
        width: "1200px",
        authorizationServer: {
            url: "http://localhost:8080/embeddetail/get"
        },
        expirationTime: "100000",
        });
        boldbiEmbedInstance.loadPinboard();
    }