Requirements
- Angular 19+
This is a dedicated Angular library — an injectable
LerixService, a
provideLerix() function for your app.config.ts, and an Angular
ErrorHandler integration — built on top of @lerix-dev/lerix-core, the
framework-agnostic engine shared by every Lerix web SDK. Building a React
app instead? See the React SDK. If
you’re using neither Angular nor React, @lerix-dev/lerix-core also works directly.1. Add the dependency
2. Register the SDK
AddprovideLerix() to your app.config.ts:
app.config.ts
Find your API key and project ID in the Lerix Dashboard under Project Settings.
init() call to make.
Parameters
3. Verify the integration
InjectLerixService and throw a test error to confirm everything is working:
You’re all set! Continue to Error Tracking to report custom errors and enable automatic capture, or Push Notifications to enable push delivery.