Articles in this section
Category / Section

Different types of Embedding SDK in JavaScript Embedding

Published:

Understanding the Different Types of Embedding SDK

When Embedding the Bold BI dashboards into your application it is imperative to add the Embed SDK file. There are two different ways to import SDKs into your project, and in this article, we will discuss two of them:

  • Importing via a Content Delivery Network (CDN) URL
  • Importing via Node Package Manager (NPM).

Regardless of the technique used to import the Bold BI Embed SDK, both versions possess identical functionalities. They both enable the embedding of the Bold BI dashboard and the execution of additional embedding-related operations. This means that developers can choose the method that best suits their project requirements without worrying about missing out on any features or functionalities.

You can utilize the Embed SDK NPM package for front-end frameworks like Angular, React, Node.js, and Vuejs kind of applications. On the other hand, Embed SDK CDN URL can be used in HTML files of ASP.NET Core, Java, and PHP kind of applications.

Embedding SDK via CDN URL

The first method involves importing the SDK using pure JavaScript via a CDN URL. This method is often referred to as the “Embedded SDK file import”. The CDN URL is referred to in the embedded application, allowing the SDK to be imported directly into the project. You can refer to the hep documentation to obtain the latest CDN link

Embedding SDK via NPM

The second method is known as the “Embed SDK NPM package”. This method involves installing the SDK web package using NPM, a package manager for the JavaScript programming language. This method is particularly useful for importing node dependencies directly into a Single Page Application (SPA) project. You can refer to the hep documentation for installing the Embed SDK NPM package

References

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
SM
Written by Soundarya Mani Meharan
Updated:
Comments (0)
Please  to leave a comment
Access denied
Access denied