Start widget with npm or yarn
Quick installation guide to start the BetterBugs Web SDK widget with npm or yarn.
How to install the BetterBugs Web SDK widget using npm/yarn
3
4
Customize the SDK widget UI (Optional)
import { Betterbugs } from "@betterbugs/web-sdk";
const startBB = new Betterbugs({
// Replace with your BetterBugs project API key
apiKey: "YOUR-API-KEY-GOES-HERE",
position: { top: "20px", right: "20px" },
styles: {
primaryColor: "#e41c38",
primaryTextColor: "#fff",
theme: "light",
},
});
startBB();Last updated