> For the complete documentation index, see [llms.txt](https://docs.shipwithdjango.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.shipwithdjango.com/logging/using-sentry.md).

# Using Sentry

Sentry is a widely used tool for real-time error tracking and performance monitoring. If you want to leverage Sentry in your application, follow these steps:

1. **Enable Sentry**: Set the `USE_SENTRY` variable to `True`.
2. **Configure DSN**: Set the `SENTRY_DSN` variable to the DSN provided by Sentry when you set up your account.

```python
USE_SENTRY = False  # Change to True to enable Sentry
SENTRY_DSN = None  # Set this to your Sentry DSN
```

With Sentry enabled, your application will send error reports and performance data to Sentry, allowing you to monitor your application more effectively.
