Introduction

What Reelay is, how it fits together, and the fastest path to your first captured error.

Getting started

What is Reelay?

Reelay is an incident-response platform that captures production errors with full context, analyzes them against your source code, and helps your team resolve them in one place. Drop in an SDK and every error arrives with its stack trace, request timeline, breadcrumbs, and — for the browser — a masked session replay of the moments before it happened.

Capture

Install one SDK. Errors, context, and replay are collected automatically — no manual wiring per route.

Correlate

A browser session and the backend request it triggered share one trace, so a frontend symptom links to its server-side cause.

Resolve

Every event ships scrubbed of secrets by default, then routes to the right team with a durable operational record.

Quickstart

Get your first error into Reelay in under five minutes. Choose your runtime, install the SDK, and call init() once at the very start of your app.

1
Install the package
bash
npm install @usereelay/browser
2
Initialize once, as early as possible
main.ts
import * as Reelay from "@usereelay/browser";
Reelay.init({
endpoint: "https://api.usereelay.com",
token: "rlyt_live_replace_with_your_key",
});
3
Confirm it works

Throw a test error after init(); it should appear in your dashboard within seconds.

typescript
setTimeout(() => { throw new Error("Reelay browser test error"); }, 0);
One init per app
Initialize init() once, in a module that loads first. It is safe to reference anywhere afterward — the first call wins and every later call returns that same client.

Core concepts

The same five ideas underpin both SDKs. Understanding them makes the per-SDK reference below read quickly.

Events

Each captured error becomes one event with an ID like evt_…, carrying its exception, platform, and timestamp.

Breadcrumbs

The last 50 user/system actions leading to an error — clicks, navigations, console output, and fetches.

Traces

A W3C traceparent plus a session ID let one logical operation span browser and backend.

Session replay

A masked rrweb recording of the ~30–60s before a browser error, uploaded only when an error occurs.

Scrubbing

Tokens, passwords, JWTs, card numbers, and emails are redacted before anything leaves the SDK.

Tokens

Events authenticate with a node API key beginning rlyt_live_, created when you add a node in the dashboard.