# Sentry Integration Setup

### Getting Started <a href="#h_01hq312f18tdz6dxkhajfvg1x1" id="h_01hq312f18tdz6dxkhajfvg1x1"></a>

BalkanID recommends creating a separate service account for the purposes of this integration, instead of using personal or employee named accounts.&#x20;

#### Requirements: <a href="#h_01hq312r1vjxstdazm6x14hjxw" id="h_01hq312r1vjxstdazm6x14hjxw"></a>

* ***Token***
* ***Organization Slug***

#### Getting the Credentials <a href="#h_01h9kyd5yj2hzrnqz7q6x12rg7" id="h_01h9kyd5yj2hzrnqz7q6x12rg7"></a>

1\. Sign into *Sentry* and go to *Settings.*<br>

<figure><img src="/files/Ms3rh06GXuIwkb7PpzEa" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/6Chl3CnHF8F1SzSH65uA" alt=""><figcaption></figcaption></figure>

2\. Note down your Organization Slug.

3\. Follow the below steps:

1. Go to the *Integrations* tab and press **Create new integration** and select internal integration.
2. Select  the scopes given in the below image<br>

   <figure><img src="/files/2d4J3bvvWESfzqT2FA6q" alt=""><figcaption></figcaption></figure>
3. Save Changes
4. Scroll to the bottom and note down the token. Store the token securely for future uses.

### Configure Sentry within your BalkanID tenant <a href="#h_01h9kyd5yjterj4gp3ypjbds9w" id="h_01h9kyd5yjterj4gp3ypjbds9w"></a>

1. Login to the BalkanID application and switch to the tenant you would like to add your integration to.
2. Head to *Integrations* > *Third Party Applications* and click **Add Integration**, select **Sentry**. Set up the *Primary Application owner* and the *Description*, if any.<br>

   <figure><img src="/files/1rpHAjXEH6CmGdUHqrzT" alt=""><figcaption></figcaption></figure>
3. *Sentry* would have been added to the list of applications. Click on the **Configure and Integrate** button beside the integration name, and configure the fields with the values that were noted prior. It should look like this:<br>

   <figure><img src="/files/83OZYu9PHLuGoDyYGOIx" alt=""><figcaption></figcaption></figure>
4. Once you filled in the information, click **Save changes**. Your integration is now configured and you will see the status of the integration displayed alongside other integrations on the *Integrations* page. Integrations are synced daily. When data is available, the integration Status column will read **Connected** and the integration Message will read **Data available**.


---

# 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://docs.balkan.id/getting-started/setting-up-your-tenant/application-integrations/direct-application-integration/sentry-integration-setup.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.
