The Bold BI Embed SDK enables you to render the AI Assistant by specifying the server URL, mode and embed token within your application.
For more details, refer to the official documentation: Embed AI Assistant.
<div id="embed_container"></div>
<script>
function embedSample() {
var boldbiEmbedInstance = BoldBI.create({
serverUrl: "<Bold BI Server URL>",
mode: BoldBI.Mode.AIAssistant,
embedContainerId: "<Embed Container Id>",
embedToken: "<Embed token generated from the backend server>"
});
boldbiEmbedInstance.loadAIAssistant();
}
</script>In this section, the details of public APIs are provided along with their code references: