Initialize the SDK
Integrate our Web SDK into your web application using TypeScript or HTML + JavaScript.
Best practice: Initialize the Experiences SDK as early as possible when your app loads (for example, during bootstrap before you render widgets). Early initialization improves performance and keeps analytics stable.
Initialize the Experiences SDK in your app, then create widgets and handle SDK
events.
Choose an integration approach
- TypeScript (npm package): Recommended for most apps. See
TypeScript integration. - HTML + JavaScript (script tag): Useful for quick prototypes and static
sites. See JavaScript integration.
What “initialized” means on Web
Initialization is complete when the SDK fires the onBlazeSDKConnect event.
Create widgets and call SDK APIs after that event.
Updated about 1 month ago
Did this page help you?
