# Sentry

[Sentry](https://sentry.io/welcome/) is an open source error monitoring and reporting tool. With Freshpaint, you can associate errors with specific users.

{% hint style="warning" %}
Client-side only integrations cannot be used in HIPAA mode.
{% endhint %}

## Destination Info

* Accepts [Identify](https://documentation.freshpaint.io/developer/freshpaint-sdk-reference#identify) calls
* Does not support [Track](https://documentation.freshpaint.io/developer/freshpaint-sdk-reference#track) track calls and will not appear as a destination option in the event library.
* Connection Modes:

<table><thead><tr><th width="160" align="right"> </th><th data-type="checkbox">Client-side</th><th data-type="checkbox">Server-side</th></tr></thead><tbody><tr><td align="right">Web</td><td>true</td><td>false</td></tr><tr><td align="right">Mobile</td><td>false</td><td>false</td></tr><tr><td align="right">Server</td><td>false</td><td>false</td></tr></tbody></table>

## Getting Started

To set up the Sentry integration, follow the following steps:

1. Go to the [Sentry configuration page](https://app.freshpaint.io/destinations/apps/sentry) in Freshpaint and click "Configure".
2. In Sentry, find your Data Source Name (DSN) and copy/paste into the Credentials setting in Freshpaint.

{% hint style="info" %}
You can find your Public DSN by going to Sentry and clicking Projects & Teams > Any Project > Settings > Client Keys (DSN). This should be the PUBLIC DSN since it does not contain a secret. You can read more about where to find your DSN [here](https://docs.sentry.io/product/sentry-basics/dsn-explainer/#where-to-find-your-dsn).
{% endhint %}

## Identify

When you call [freshpaint.identify()](https://documentation.freshpaint.io/developer/freshpaint-sdk-reference#identify), Freshpaint will create or update a User profile in Sentry by calling [Sentry.setUserContext() ](https://docs.sentry.io/clients/javascript/#adding-context)by passing in the traits you provided in the identify call.

While a user is logged in and identified, you can tell Sentry to associate errors with user data. This data is then submitted with each error which allows you to figure out which users are affected.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.freshpaint.io/integrations/destinations/apps/sentry.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
