This Bold BI React with Go sample contains the Dashboard embedding sample. In this sample React application act as the front-end and the Go sample act as the back-end application. This application aims to demonstrate how to render the dashboard available on your Bold BI server.
NOTE: Node.js v18.17 to v20.15 are supported.
- Google Chrome, Microsoft Edge, and Mozilla Firefox.
-
Please ensure you have enabled embed authentication on the
embed settingspage. If it is not currently enabled, please refer to the following image or detailed instructions to enable it. -
To download the
embedConfig.jsonfile, please follow this link for reference. Additionally, you can refer to the following image for visual guidance. -
Copy the downloaded
embedConfig.jsonfile 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 command line interface and navigate to the specified file location where the project is located.
-
Run the back-end
Gosample using the following commandgo run main.go. -
Open the command line interface and navigate to the specified file location where the project is located.
-
To install all dependent packages, use the following command
npm install. -
Finally, run the application using the command
npm start. After executing the command, the application will automatically launch in the default browser. You can access it at the specified port number (e.g., http://localhost:3000/).
-
Open the
Gosample in Visual Studio Code. -
Install the extension
Goin Visual Studio Code. Please refer to the following image.
-
Run the back-end
Gosample using the following commandgo run main.go. -
Open the
Reactsample in a new window of Visual Studio Code. -
To install all dependent packages, use the following command
npm install. -
Finally, run the application using the command
npm start. After executing the command, the application will automatically launch in the default browser. You can access it at the specified port number (e.g., http://localhost:3000/).
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.




