100+ Other Frameworks
Decipher collects data via the Sentry SDK for backends.
Please make sure you’ve installed Decipher for your frontend before continuing.
Initialize the Sentry SDK
Initialize the Sentry SDK in your backend project. The steps for this vary based on your language and framework; see Sentry docs here.
For example, for a NextJS project, run the following command at the root of your repository.
Create a Decipher project and get your DSN
Update your Sentry initialization
Update the DSN parameter in your Sentry init
call (which varies by language) to the new DSN.
For example:
sentry.client.config.ts
, sentry.edge.config.ts
, and sentry.server.config.ts
(or instrumentation.ts
).[Frontend Only] Configuring Session Replays for AI Analysis
To provide enough context for the AI to determine which errors are high severity, you need to make sure session replays are configured correctly.
It is important that you set maskAllText: false
. For additional privacy, you can set maskAllInputs: true
.
Recommended configuration:
Test the integration
That’s it! Now test the integration by forcing an error anywhere in your app, e.g.
Check out the Decipher dashboard to see information about your captured error. Decipher will automatically analyze and group your errors to highlight the important, high-impact ones.