This guide helps you create your own Bugpilot widget or custom bug reporting flow.
<aside> ⚠️ If you are interested in doing minor style changes to the default Bugpilot widget and bug reporting flow checkout out this document.
</aside>
The Bugpilot SDK for JavaScript is an easy way to start bug reporting from your app’s front-end.
To get started using the Bugpilot SDK, you must follow these steps:
The SDK methods are available on the global Bugpilot object. By default, the Bugpilot tracking code loads asynchronously, to minimize the impact on your pages performance. Before calling any SDK method, make sure the page has finished loading.
saveReport
. It’s important to know that Bugpilot will keep recording for up to 2 minutes. Make sure you don't call the function too early in the flow, so your users have plenty of time to record their screens and report bugs.saveReport
function was called.