⏱ Estimated Time To Completion: 5 minutes
Please make sure you’ve installed Decipher for your frontend via Sentry before continuing; PostHog doesn’t support backend data in the same way.
1
Install the SDK
Decipher uses the Sentry SDK to collect runtime data from your application. Installation is simple:The FastAPI integration will be automatically enabled when you initialize the Sentry SDK, provided the FastAPI package is included in your application’s dependencies.
Bash
2
Initialize the SDK
Initialize the SDK as soon as possible in your application’s runtime.You can get the
dsn
parameter by creating a project within Decipher with your work email. On the Settings page, select a new project name and click “Create New Project”. Decipher will generate a DSN to that you can paste.3
Test the integration
Throw an error anywhere in your application and Decipher will automatically capture the exception and runtime alongside it.For example: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.