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).
1. Create a project
Section titled “1. Create a project”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>2. Configure your SDK
Section titled “2. Configure your SDK”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="my-app@1.0.0",)JavaScript:
import * as Sentry from '@sentry/browser';
Sentry.init({ dsn: 'http://<key>@bugfuse.example.com/api/<project-id>', environment: 'production', release: 'my-app@1.0.0',});3. Trigger an error
Section titled “3. Trigger an error”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.
Next steps
Section titled “Next steps”- Set up notification channels and automation rules to get alerted on new issues, regressions, and spikes.
- Upload source maps with
sentry-cliso minified JavaScript stack traces are symbolicated (create an API token in your organization settings first).