Docs

The Embed Widget

One script tag adds a floating bug reporter to your site — no login required for your users.

Installation

Paste your project's script tag into the <head> of your site. The widget loads asynchronously and renders a small floating button in the corner of the page.

<script
  src="https://buhg.net/embed.js"
  data-buhg-key="YOUR_PROJECT_KEY"
  defer
></script>

What it captures

When a user submits a report, the widget captures the environment for them so you get a fixable report without asking the user for technical details:

  • Page URL where the report was submitted
  • Browser and operating system
  • Viewport and screen size
  • The user's description and any custom fields you configure
  • Optional screenshot / attachment

This is the automatic-context approach described in how to collect bug reports from users.

Domain allowlist

Restrict which domains may submit reports for your project from Settings → Embed → Domain allowlist. Requests from other origins are rejected, so a copied key cannot be used to submit reports from a site you do not control.

Custom fields

Add custom fields (for example, account tier or affected feature) from Settings → Custom fields. They appear in the widget form and travel with every report into triage.

Turn bug reports into merged fixes

Embed one script tag. AI triages every bug. Your agent ships the fix from the terminal.

Get started free