Skip to content

Using Spotlight

Spotlight provides an Electron app that can be used to run the Sidecar as well as a dedicated instance of the overlay.

Installation

Get started by downloading the latest version of the Electron app for your platform.

latest version: 1.9.3

Other ways

If Electron apps are not your thing or you are not using a Mac we have some more ways to run Spotlight with it’s web UI:

Terminal window
npx @spotlightjs/spotlight

SDK Setup

In addition to loading the application, make sure you’ve enabled spotlight in the relevant Sentry SDKs (e.g. via spotlight: true):

For front-end applications, you need to enable the spotlightBrowserIntegration for it to work. This is to only include this bit of the code for the users of Spotlight:

import * as Sentry from '@sentry/browser';
Sentry.init({
dsn: '___DSN___',
integrations: [Sentry.spotlightBrowserIntegration()],
// ...other Sentry options
});