⏱ Estimated Time To Completion: 2 minutes
1

Get your new DSN by creating a project in Decipher

Log in to Decipher with your work email. On the Organization Settings page, choose a project name and click “Create New Project”.

We auto-create a Decipher-only project called “FirstFrontendProject” when your organization registers with Decipher, but that is separate from the Sentry project you’re about to add.

On the following screen, decide where you want to send data. We recommend choosing Decipher only to avoid double charges.

2

Update your Sentry initialization to use the new DSN and configuration

3

Identify Users

If you aren’t already doing this, make sure to identify users where user information is available in your application frontend, typically after authentication or login.

// Set user information in Decipher via the Sentry TypeScript SDK
Sentry.setUser({
  "email": "jane.doe@example.com",  // Recommended identifier to set (can add others)
  "id": "your_internal_unique_identifier", // use if email not available
  "username": "unique_username", // use if email not available
  "account": "AcmeCo",  // Which account/organization is this user a member of?
  // Additional user information can be added here        
});

Once you’re done, simply use your website to validate that Decipher is collecting session replay data (and that Sentry is too, if you selected that option).