IntegrationQuick Start
Quick Start
1. Get Your API Key
- Go to your Organization Settings in the NoiseGate dashboard
- Navigate to NoiseGate → API Key
- Click Generate API Key
- Copy and save your key (starts with
ng_live_)
2. Install the SDK
npm install @noisegate/sdk3. Add to Your Sentry Config
import * as Sentry from "@sentry/browser";
import { initNoisegate, isNoise } from "@noisegate/sdk";
// Initialize once (auto-loads patterns)
initNoisegate({ apiKey: "ng_live_your_api_key" });
Sentry.init({
dsn: "YOUR_SENTRY_DSN",
beforeSend: (event, hint) => {
const error = hint?.originalException;
if (error instanceof Error && isNoise(error)) {
return null; // Filter out noise
}
return event;
},
});That's it! NoiseGate will automatically filter common noise errors.
4. Verify Integration
Trigger a test error that should be filtered:
// This common browser error should be filtered
throw new Error("ResizeObserver loop completed with undelivered notifications");Check your Sentry dashboard—the error should not appear.
5. Configure Filters (Optional)
In your NoiseGate dashboard:
- Enable/disable community patterns by category
- Adjust confidence threshold to control filter sensitivity
- Add custom patterns for app-specific noise
Next Steps
- Framework Guides — Next.js, React, Vue examples
- Error Tracking Services — Datadog, New Relic, Raygun, and more
- API Reference — Direct API access