> ## 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 JetBrains YouTrack with Permanent Token (Multiple Companies) – StackOne Hub

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

> [!WARNING]
>
> You need a YouTrack account with the Update Self permission to create a permanent token. The token inherits the permissions of the account that creates it, so use an account whose access matches the data you want to sync. The unified IAM user, role, and group actions need YouTrack 2026.1 or later. JetBrains says reading role assignments needs Low-level Admin Read for global roles, Update Organization for organization roles and Update Project for project roles, and reading groups needs the Read Groups feature, Update Project or Low-level Admin Read. Without them YouTrack can return fewer rows. To read users or groups with expand roles, create the token from a System Admin account; with any other account those reads answer 403 because the role assignments would be incomplete. Listing roles does not need System Admin.

## Create or access a YouTrack instance

YouTrack is JetBrains' issue tracker, and you connect one specific YouTrack instance to StackOne. Make sure you have access to an instance before you continue.

<ul>
  <li>If your team already uses YouTrack, ask your administrator for the instance URL and sign in with your account.</li>
  <li>If you do not have one yet, create an instance from [JetBrains YouTrack](https://www.jetbrains.com/youtrack/) — choose **YouTrack Cloud** for a hosted `your-org.youtrack.cloud` instance, or **YouTrack Server** to self-host.</li>
</ul>

## Find your YouTrack base URL

Your base URL identifies your organization's YouTrack instance. Copy the **YouTrack Base URL** across.

<ul>
  <li>Check your browser address bar when signed in to YouTrack.</li>
  <li>New cloud — if your URL is `https://acme.youtrack.cloud/issues`, your base URL is `https://acme.youtrack.cloud`</li>
  <li>Legacy cloud — if your URL is `https://acme.myjetbrains.com/youtrack/issues`, your base URL is `https://acme.myjetbrains.com/youtrack`</li>
  <li>Self-hosted — use your server URL, for example `https://youtrack.example.com`</li>
  <li>Enter the base URL without a trailing `/api` — StackOne appends it automatically.</li>
  <li>Format: `https://{your-org}.youtrack.cloud`</li>
  <li>Example: `https://acme.youtrack.cloud`</li>
</ul>

## Generate a permanent token

A permanent token authenticates REST API calls on behalf of your account without an OAuth flow.

**1. Sign in to YouTrack**

Sign in to your [YouTrack account](https://www.jetbrains.com/youtrack/) instance with your username and password.

<ul>
  <li>Open your instance URL directly if you know it, for example `https://acme.youtrack.cloud`.</li>
</ul>

**2. Open your profile**

Open the user menu from the application sidebar.

<ul>
  <li>Click your avatar at the bottom of the left sidebar.</li>
  <li>Select **Profile** from the menu.</li>
</ul>

![The user avatar menu open in the sidebar with the Profile option highlighted.](https://mintcdn.com/stackone-60/reQr1IRXGxtor6PF/connectors/jetbrains/images/custom-config-profile-menu.png?fit=max\&auto=format\&n=reQr1IRXGxtor6PF\&q=85\&s=02e4eafdba94a2cfde2670c60d76fdd5)

**3. Open Account Security**

On your profile page, open the **Account Security** tab where permanent tokens are managed.

<ul>
  <li>Open the **Account Security** tab.</li>
  <li>Scroll to the **Tokens** section and click **New token …**.</li>
</ul>

![The Account Security tab with the New token button highlighted in the Tokens section.](https://mintcdn.com/stackone-60/reQr1IRXGxtor6PF/connectors/jetbrains/images/custom-config-new-token.png?fit=max\&auto=format\&n=reQr1IRXGxtor6PF\&q=85\&s=581b3cecc5fe4aba2ff8eee16d2cad7d)

**4. Create the token**

Complete the **New Permanent Token** dialog.

<ul>
  <li>In the **Name** field, enter a name such as `StackOne`.</li>
  <li>Under **Scope**, the dialog pre-selects **YouTrack** and **YouTrack Administration** — remove **YouTrack Administration** unless you need admin-level actions.</li>
  <li>Click **Create**.</li>
</ul>

![The New Permanent Token dialog with the Name field, the Scope set to YouTrack, and the Create button highlighted.](https://mintcdn.com/stackone-60/reQr1IRXGxtor6PF/connectors/jetbrains/images/custom-config-create-token.png?fit=max\&auto=format\&n=reQr1IRXGxtor6PF\&q=85\&s=5c43c291e85e05b78131ba32ddb7f4ed)

**5. Copy the token**

YouTrack displays the token only once, so copy it immediately.

<ul>
  <li>The dialog reads: **Permanent token created. Copy it before you close this dialog and keep it in a secure location. This is the only time the token is visible.**</li>
  <li>The token is shown only once and cannot be retrieved after you close the dialog.</li>
  <li>Click **Copy token** and copy the **Permanent Token** across.</li>
  <li>The token starts with the `perm-` prefix — include the full value, prefix and all.</li>
</ul>

![The token-created dialog with the token value hidden and the Copy token button highlighted.](https://mintcdn.com/stackone-60/reQr1IRXGxtor6PF/connectors/jetbrains/images/custom-config-copy-token.png?fit=max\&auto=format\&n=reQr1IRXGxtor6PF\&q=85\&s=4a9bc46f1009d5d135b7e8e3d1667202)

## 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/jetbrains/guides/webhook-setup.md)
>
> Configure receiving Events for JetBrains YouTrack into StackOne.


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