This Bold BI PHP sample repository contains the Dashboard embedding sample. This sample demonstrates how to embed the dashboard which is available in your Bold BI server.
This section guides you in using the Bold BI dashboard in your PHP sample application.
The samples require the following requirements to run.
NOTE: In Visual studio code download the extensions, PHP intelephense and PHP Server.
-
Please ensure you have enabled embed authentication on the
embed settings
page. If it is not currently enabled, please refer to the following image or detailed instructions to enable it. -
To download the
embedConfig.json
file, please follow this link for reference. Additionally, you can refer to the following image for visual guidance. -
Copy the downloaded
embedConfig.json
file and paste it into the designated location within the application. Please ensure you have placed it in the application, as shown in the following image.
-
Open the PHP sample in visual studio code or any respective IDE.
-
Ensure whether embedConfig file is located in following location,
rest/embedConfig.json
and run the PHP application using the respective IDE or using visual studio code. -
Right-click the
index.php
file and selectPHP Server: Serve project
. -
After that application has started, it will display a URL in the command line interface, typically something like (e.g., http://localhost:3000/). Copy this URL and paste it into your default web browser.
Please refer to the help documentation to know how to run the sample.
Look at the Bold BI Embedding sample to live demo here.
A complete Bold BI Embedding documentation can be found on Bold BI Embedding Help.