Documentation
Setup
Install the package, call init with your API key, and errors start flowing.
Install
pnpm add @retrace-kit/sdk npm and yarn work too.
Initialize
import { init } from '@retrace-kit/sdk';
init({ apiKey: 'your-project-api-key' });
Get the key from project settings in the app.
Platform details: Browser, Node.js, or Next.js.
All init options are listed there.
Test it
- Load the page or start the process with a valid key in
init. - Trigger an error — e.g.
throw new Error('test')in the browser console. - Check issues in the app.