> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-xsiam/cloud-security/cortex-cloud-saas-security/onboard-a-supported-saas-application/onboard-youtrack.md).

# Onboard YouTrack

SaaS Security connects to the YouTrack API using a permanent token that you generate from a YouTrack administrator account. After connecting, SaaS Security scans your YouTrack instance for misconfigured settings.

Onboarding consists of two tasks:

1. Collect the instance name and generate a permanent token
2. Connect SaaS Security to YouTrack

The onboarding process requires the following credentials:

| Item            | Description                                                                                                                                                  |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| Instance Name   | The unique subdomain that identifies your organization's YouTrack instance, as shown in your YouTrack URL: \<instance-name>.youtrack.cloud.                  |
| Permanent Token | A token generated from a YouTrack administrator account assigned to the System Admin role. The token must be scoped to YouTrack and YouTrack Administration. |

***

#### Task 1 — Collect Information for Accessing Your YouTrack Instance

**Step 1 — Identify your YouTrack instance name**

Open a browser and go to your YouTrack login page. Your instance name is the subdomain shown in the URL: \<instance-name>.youtrack.cloud.

**Note**: Record your instance name before proceeding. You must provide it during onboarding.

**Step 2 — Generate a permanent token**

1. Log in to YouTrack as an administrator assigned to the System Admin role.
2. Click your account avatar in the upper-right corner and select \<your-avatar> > Profile.
3. On your profile page, go to Account Security.
4. In the Tokens section, click New token.
5. In the New Permanent Token dialog:

* Enter a name for the token.
* Select the following scopes:
* YouTrack
* YouTrack Administration

6. Click Create. YouTrack displays the new permanent token.
7. Click Copy token and save it to a text file.

Note: Do not proceed until you have copied the token. You must provide it during onboarding.

***

#### Task 2 — Connect SaaS Security to YouTrack

1. Log in to [Cortex](https://cortex.paloaltonetworks.com).
2. Select **Settings > Data Sources and Integrations > Add New** and click the YouTrack tile.
3. On the **Capabilities** tab, enter a name for this instance.
4. Under Default Capabilities, confirm Security Posture is selected.
5. Click Next.
6. On the **Connections** tab, enter your Instance Name and Permanent Token.
7. Click Next.
8. On the **Configurations** tab:
   1. Set the Sync Interval.
   2. (Optional) Add a Tag.
9. Click **Next** to complete onboarding.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-xsiam/cloud-security/cortex-cloud-saas-security/onboard-a-supported-saas-application/onboard-youtrack.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
