> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect Sentry with Auth Token (Multiple Companies) – StackOne Hub

> Link a Sentry account in the StackOne Hub using Auth Token (Multiple Companies). End-user guide to authorize the integration and start using Sentry actions.

> [!WARNING]
>
> Admin access to your Sentry organization is required to generate auth tokens.

Select Actions to adjust the guideSome actions may require additional configuration in the provider to be accessible. Choose the actions you need and the guide will be updated.

Select all
Clear

ActionScope(s)

Loading actions...No actions match your search.

Dynamic Guide URL

Copy URL

Scopes Selected

<pre role="textbox" aria-readonly="true" tabIndex="0" />

Separator

Copy scopes

## Sign in to Sentry

Sign in to your [Sentry account](https://sentry.io).

![Sign in to Sentry](https://mintcdn.com/stackone-60/WLO1dS7UyEO1KFXa/connectors/sentry/images/sentry-sign-in.png?fit=max\&auto=format\&n=WLO1dS7UyEO1KFXa\&q=85\&s=4232789544d27004317f5683e85831c7)

## Find your Organization ID

Your Organization ID is the unique identifier for your Sentry organization.

<ul>
  <li>Navigate to **Settings** > **Organization** > **General Settings**.</li>
  <li>Find the **Organization ID** field.</li>
</ul>

![Find your Organization ID](https://mintcdn.com/stackone-60/WLO1dS7UyEO1KFXa/connectors/sentry/images/sentry-organization-id.png?fit=max\&auto=format\&n=WLO1dS7UyEO1KFXa\&q=85\&s=c45cb53444ec2f3119c9a16f32e2b660)

## Generate an Auth Token

An Auth Token is required to enable API access. You can generate one using either a Personal Token or a Custom Internal Integration.

**1. Create a Personal Token**

Navigate to the Personal Tokens page.

<ul>
  <li>Navigate to **Settings** > **Developer Settings** > **Personal Tokens**.</li>
  <li>Click **+ Create New Token**.</li>
</ul>

![Create a new personal token](https://mintcdn.com/stackone-60/WLO1dS7UyEO1KFXa/connectors/sentry/images/sentry-create-token.png?fit=max\&auto=format\&n=WLO1dS7UyEO1KFXa\&q=85\&s=762fcef8cfc0ea4564d6207e8cb5ddf8)

**2. Select required permissions**

Enables actions: Add A Member To An Organization, Add A Team To A Project, Add An Organization Member To A Team, Bulk Mutate A List Of Issues, Bulk Mutate An Organization's Issues, Bulk Remove A List Of Issues, Bulk Remove An Organization's Issues, Create A New Project, Create A New Team, Delete A Project, Delete A Replay Instance, Delete A Team, Delete A Team From A Project, Delete An Organization Member, Delete An Organization Member From A Team, Get Unified Credentials, Get Unified Group, Get Unified Organization, Get Unified Role, Get Unified User, List A Project Release's Commits, List A Project's Client Keys, List A Project's Data Filters, List A Project's Error Events, List A Project's Issues, List A Project's Organization Members, List A Project's Release Files, List A Project's Teams, List A Project's Users, List A Release's Deploys, List A Repository's Commits, List A Tag's Values, List A Tag's Values For An Issue, List A Team's Members, List A Team's Projects, List A User's Teams For An Organization, List An Issue's Events, List An Issue's Hashes, List An Organization Release's Commits, List An Organization's Issues, List An Organization's Members, List An Organization's Projects, List An Organization's Release Files, List An Organization's Releases, List An Organization's Replays, List An Organization's Repositories, List An Organization's Selectors, List An Organization's Teams, List Recording Segments, List Unified Groups, List Unified Organizations, List Unified Resource Types, List Unified Resource Users, List Unified Roles, List Unified Users, List Users Who Have Viewed A Replay, List Your Organizations, Remove An Issue, Resolve A Short ID, Resolve An Event ID, Retrieve A Project, Retrieve A Project Release's File, Retrieve A Recording Segment, Retrieve A Replay Instance, Retrieve A Team, Retrieve An Event For A Project, Retrieve An Issue, Retrieve An Issue Event, Retrieve An Organization, Retrieve An Organization Member, Retrieve An Organization Release's File, Retrieve An Organization's Events Count By Project, Retrieve An Organization's Release, Retrieve Event Counts For A Project, Retrieve Event Counts For An Organization (v2), Retrieve Files Changed In A Release's Commits, Retrieve Ownership Configuration For A Project, Retrieve Statuses Of Release Thresholds (Alpha), Retrieve Tag Details, Update A Team, Update An Issue, Update An Organization Member's Team Role, Update Organization, Update Organization Member Roles, Update Ownership Configuration For A Project

Select the required permissions for your integration.

<ul>
  <li>**Name**: Enter a descriptive name for the token (e.g., `StackOne Integration`).</li>
  <li>**Permissions**: Select the following permissions (scopes):</li>
</ul>

![Select required permissions for the token](https://mintcdn.com/stackone-60/WLO1dS7UyEO1KFXa/connectors/sentry/images/sentry-select-scopes.png?fit=max\&auto=format\&n=WLO1dS7UyEO1KFXa\&q=85\&s=134eb899ad34ac6a6cfa142fbd6d1bca)

<ul>
  <li>
    org:read
  </li>

  <li>
    org:write
  </li>

  <li>
    org:admin
  </li>

  <li>
    project:read
  </li>

  <li>
    project:write
  </li>

  <li>
    project:admin
  </li>

  <li>
    project:releases
  </li>

  <li>
    team:read
  </li>

  <li>
    team:write
  </li>

  <li>
    team:admin
  </li>

  <li>
    member:read
  </li>

  <li>
    member:write
  </li>

  <li>
    member:admin
  </li>

  <li>
    event:read
  </li>

  <li>
    event:write
  </li>

  <li>
    event:admin
  </li>
</ul>

**3. Save the token**

Click **Create Token**.

<ul>
  <li>Copy the token immediately, as it is only shown once, and paste it into the **Auth Token** field.</li>
</ul>

![Copy the generated token](https://mintcdn.com/stackone-60/WLO1dS7UyEO1KFXa/connectors/sentry/images/sentry-copy-token.png?fit=max\&auto=format\&n=WLO1dS7UyEO1KFXa\&q=85\&s=22697751072c8ba23626e35cc246a5f7)

## Generate a Custom Internal Integration token (alternative)

Create a Custom Internal Integration instead of a Personal Token.

**1. Create a Custom Internal Integration Token**

Navigate to the Custom Integrations page.

<ul>
  <li>Navigate to **Settings** > **Integrations** > **Custom Integrations**.</li>
  <li>Go to the **Internal Integrations** tab and click **+ Create New Integration** in the top-right corner.</li>
</ul>

![Create a new internal integration](https://mintcdn.com/stackone-60/WLO1dS7UyEO1KFXa/connectors/sentry/images/sentry-create-integration.png?fit=max\&auto=format\&n=WLO1dS7UyEO1KFXa\&q=85\&s=4b2c1c9e38ff13f8f5e4f937d1c2b9fa)

**2. Choose integration type**

Select **Internal Integration** as the integration type.

![Select internal integration type](https://mintcdn.com/stackone-60/WLO1dS7UyEO1KFXa/connectors/sentry/images/sentry-internal-integration-type.png?fit=max\&auto=format\&n=WLO1dS7UyEO1KFXa\&q=85\&s=3d3bbca0abd08d8e60d5cef090aec86f)

**3. Select required permissions**

Enables actions: Add A Member To An Organization, Add A Team To A Project, Add An Organization Member To A Team, Bulk Mutate A List Of Issues, Bulk Mutate An Organization's Issues, Bulk Remove A List Of Issues, Bulk Remove An Organization's Issues, Create A New Project, Create A New Team, Delete A Project, Delete A Replay Instance, Delete A Team, Delete A Team From A Project, Delete An Organization Member, Delete An Organization Member From A Team, Get Unified Credentials, Get Unified Group, Get Unified Organization, Get Unified Role, Get Unified User, List A Project Release's Commits, List A Project's Client Keys, List A Project's Data Filters, List A Project's Error Events, List A Project's Issues, List A Project's Organization Members, List A Project's Release Files, List A Project's Teams, List A Project's Users, List A Release's Deploys, List A Repository's Commits, List A Tag's Values, List A Tag's Values For An Issue, List A Team's Members, List A Team's Projects, List A User's Teams For An Organization, List An Issue's Events, List An Issue's Hashes, List An Organization Release's Commits, List An Organization's Issues, List An Organization's Members, List An Organization's Projects, List An Organization's Release Files, List An Organization's Releases, List An Organization's Replays, List An Organization's Repositories, List An Organization's Selectors, List An Organization's Teams, List Recording Segments, List Unified Groups, List Unified Organizations, List Unified Resource Types, List Unified Resource Users, List Unified Roles, List Unified Users, List Users Who Have Viewed A Replay, List Your Organizations, Remove An Issue, Resolve A Short ID, Resolve An Event ID, Retrieve A Project, Retrieve A Project Release's File, Retrieve A Recording Segment, Retrieve A Replay Instance, Retrieve A Team, Retrieve An Event For A Project, Retrieve An Issue, Retrieve An Issue Event, Retrieve An Organization, Retrieve An Organization Member, Retrieve An Organization Release's File, Retrieve An Organization's Events Count By Project, Retrieve An Organization's Release, Retrieve Event Counts For A Project, Retrieve Event Counts For An Organization (v2), Retrieve Files Changed In A Release's Commits, Retrieve Ownership Configuration For A Project, Retrieve Statuses Of Release Thresholds (Alpha), Retrieve Tag Details, Update A Team, Update An Issue, Update An Organization Member's Team Role, Update Organization, Update Organization Member Roles, Update Ownership Configuration For A Project

Configure the integration name and select the required permissions.

<ul>
  <li>**Name**: Enter a descriptive name for the integration (e.g., `StackOne Integration`).</li>
  <li>**Permissions**: Select the following scopes:</li>
  <li>Click **Save Changes**. You will be redirected to the integration detail page. Scroll down to the **TOKEN** section.</li>
</ul>

![Select required scopes for the integration](https://mintcdn.com/stackone-60/WLO1dS7UyEO1KFXa/connectors/sentry/images/sentry-internal-per-select-scopes.png?fit=max\&auto=format\&n=WLO1dS7UyEO1KFXa\&q=85\&s=0c9deb92840d5a5eb281b7a81bd1c500)

<ul>
  <li>
    org:read
  </li>

  <li>
    org:write
  </li>

  <li>
    org:admin
  </li>

  <li>
    project:read
  </li>

  <li>
    project:write
  </li>

  <li>
    project:admin
  </li>

  <li>
    project:releases
  </li>

  <li>
    team:read
  </li>

  <li>
    team:write
  </li>

  <li>
    team:admin
  </li>

  <li>
    member:read
  </li>

  <li>
    member:write
  </li>

  <li>
    member:admin
  </li>

  <li>
    event:read
  </li>

  <li>
    event:write
  </li>

  <li>
    event:admin
  </li>
</ul>

**4. Save the token**

Click **+ New Token** to generate an Auth Token. Copy it immediately, as it is only shown once, and paste it into the **Auth Token** field.

![Copy the generated token](https://mintcdn.com/stackone-60/WLO1dS7UyEO1KFXa/connectors/sentry/images/sentry-internal-generate-token.png?fit=max\&auto=format\&n=WLO1dS7UyEO1KFXa\&q=85\&s=4b36d6cf08f42e05717735728d49aae1)

## Link the Account

**1. Connect**

<ul>
  <li>Click **Connect**.</li>
  <li>If applicable, the provider will redirect you to a sign-in or authorization page. Complete the provider's authorization flow.</li>
  <li>Once authorization is successful, you will see a confirmation popup.</li>
</ul>

**2. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Next Steps

> [card] [Webhooks setup](https://docs.stackone.com/connectors/sentry/guides/webhook-setup.md)
>
> Configure receiving Events for Sentry into StackOne.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.