Docs

Get started with Optics in minutes.

1Install

npm install @optic/browser-sdk

2Initialize

import { Optic } from '@optic/browser-sdk';

Optic.init({
  apiKey: 'your-api-key',
  projectId: 'your-project-id'
});

3Done

Errors and sessions are now being captured automatically.

What You Get

Error Tracking

Automatic capture of all JavaScript errors with stack traces.

Session Replay

Watch exactly what users did before the error occurred.

AI Tickets

AI generates issue tickets with full context automatically.

Ready to Start?

Create Account