Flask
Learn how to quickly set up Decipher in your Flask application.
Please make sure you’ve installed Decipher for your frontend before continuing.
Install the SDK
Decipher uses the Sentry SDK to collect runtime data from your application. Installation is simple:
The Flask integration will be automatically enabled when you initialize the Sentry SDK, provided the flask package is included in your application’s dependencies.
The Python SDK will integrate with Flask for all your applications. It connects to Flask’s signals rather than the app object itself.
Initialize the SDK
Initialize the SDK as soon as possible in your application’s runtime.
You can get the dsn
parameter by logging into 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.
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.