Docs

From install to first grouped issue in minutes.

bughq is one SDK and one init call. Drop it into your app, point it at your project's DSN, and every uncaught error is captured, fingerprinted, and grouped. Start here, then dive into the topic you need.

Quickstart

Three steps take you from an empty project to grouped issues arriving in your dashboard.

01

Install the SDK

Add @bughq/sdk to your app with your package manager of choice. It ships as a single dependency with no native build step.

02

Initialize once

Call bughq.init at the top of your entry point with the DSN from your project settings, plus a release and environment.

03

Deploy and watch issues land

From here, uncaught errors are captured on throw, grouped by fingerprint, and sorted by impact. No per-call-site wiring.

install and initialize
# install
bun add @bughq/sdk

# initialize once, at your entry point
import { bughq } from '@bughq/sdk'

bughq.init({
  dsn: 'https://ingest.bughq.org/p_9f2c',
  release: 'checkout@2.14.0',
  environment: 'production',
})

Read up by topic

Ready to catch your first issue?