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

  1. Load the page or start the process with a valid key in init.
  2. Trigger an error — e.g. throw new Error('test') in the browser console.
  3. Check issues in the app.