Installation
Check out the steps to install the BetterBugs Web SDK widget for your web apps.
How to generate an API key for integrating the BetterBugs Web SDK Widget
NOTE: The generated key would belong to a specific project in your BetterBugs Workspace (and not your whole workspace).
Here’s how to generate an API key for your BetterBugs project:
Open Project Settings
Log in to your BetterBugs dashboard and open a Project (within a Workspace). To open Project Settings, click on the gear icon at the top just beside your project name. Alternatively, you can hover over the Project name in the left sidebar and click the three dots (•••) to open Project Settings.
Before moving on to the installation part, make sure to copy the API key that you just created. Please keep it handy as you’ll need it to initialize the SDK widget in your JavaScript application.
Methods to install the SDK widget in your web apps
After getting your API key, you can install the SDK in your JavaScript apps using:
Method 1 — Install the widget with CDN Script
Method 2 — Install the widget with npm or yarn
Installing the Web SDK widget for different JavaScript frameworks
You can also install the SDK widget for different JavaScript apps, libraries, and frameworks. We’ve included examples for the following setups:
Last updated
Was this helpful?