Skip to content

Send your first event

BugFuse speaks the Sentry protocol, so sending events means configuring the Sentry SDK for your platform with a BugFuse DSN. The in-app setup flow includes guides for 19 platforms (JavaScript, React, Vue, Angular, Node, Next.js, React Native, Electron, Flutter, Python, Django, Flask, FastAPI, PHP, Laravel, Rails, Spring Boot, and more).

Log in, create an organization (if you haven’t), and add a project. The setup screen shows your project’s DSN, a URL like:

http://<key>@bugfuse.example.com/api/<project-id>

Use the DSN with your platform’s Sentry SDK exactly as you would with Sentry.

Python:

import sentry_sdk
sentry_sdk.init(
dsn="http://<key>@bugfuse.example.com/api/<project-id>",
environment="production",
release="[email protected]",
)

JavaScript:

import * as Sentry from '@sentry/browser';
Sentry.init({
dsn: 'http://<key>@bugfuse.example.com/api/<project-id>',
environment: 'production',
release: '[email protected]',
});
sentry_sdk.capture_message("Hello from BugFuse")

The event lands in your project’s issue list within seconds. Set environment and release in the SDK so you can filter issues by deployment later.

  • Set up notification channels and automation rules to get alerted on new issues, regressions, and spikes.
  • Upload source maps with sentry-cli so minified JavaScript stack traces are symbolicated (create an API token in your organization settings first).