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

# Shortcut

> Connect Shortcut to Iru Compliance with a workspace API token in the Shortcut-Token header to collect story, epic, iteration, and workflow membership evidence.

### About Shortcut

Iru uses the **Shortcut REST API v3** with the **`Shortcut-Token`** header. Tokens are **workspace-wide** and highly sensitive - Shortcut may **auto-revoke** keys found in public repositories.

### How It Works

```http theme={null}
Shortcut-Token: YOUR_TOKEN
```

| Detail             | Value                          |
| ------------------ | ------------------------------ |
| **Category**       | Engineering project management |
| **Authentication** | API token (custom header)      |

Official references: [API tokens](https://help.shortcut.com/hc/en-us/articles/205701199-Shortcut-API-Tokens), [REST v3](https://developer.shortcut.com/api/rest/v3).

### Prerequisites

* Shortcut user with access to the target **workspace**.

### Connect Shortcut to Iru

<Tabs>
  <Tab title="Shortcut">
    <Note>
      Complete this tab before you connect the source in Compliance.
    </Note>

    <Steps>
      <Step title="Sign in to Shortcut">
        Open [Shortcut](https://www.shortcut.com) and sign in with a user who can access the **workspace** Iru should read.
      </Step>

      <Step title="Open your Avatar menu">
        Select your **Avatar** in the Shortcut header.
      </Step>

      <Step title="Open Settings">
        Choose **Settings** from the menu.
      </Step>

      <Step title="Open Account and API Tokens">
        Select **Account**, then **API Tokens** (wording may read **Personal API tokens**).
      </Step>

      <Step title="Generate a named token">
        Enter a name for the token (for example **Iru Compliance**), then select **Generate Token**.
      </Step>

      <Step title="Copy the token once">
        **Copy** the token value once. **Regenerate** invalidates the old token, so update Iru if you rotate. Shortcut may **auto-revoke** keys found in public repositories.
      </Step>
    </Steps>

    <Note>
      Continue on the [**Iru Compliance**](#iru-compliance) tab.
    </Note>
  </Tab>

  <Tab title="Iru Compliance">
    <Note>
      Finish the [**Shortcut**](#shortcut) tab first.
    </Note>

    <Steps>
      <Step title="Open Sources">
        In Iru Compliance, on the left navigation bar, expand **Compliance** and select **Sources**.

        <Frame>
          <img src="https://mintcdn.com/iru/7HsGH7lnQ8GpVmI0/assets/media/images/iru-navigation-compliance-sources.png?fit=max&auto=format&n=7HsGH7lnQ8GpVmI0&q=85&s=595982441fd777b333b3ecfea24adc24" alt="Left navigation: Compliance expanded, Sources selected" width="424" height="1056" data-path="assets/media/images/iru-navigation-compliance-sources.png" />
        </Frame>
      </Step>

      <Step title="Turn on Shortcut">
        Find **Shortcut** (use **Category** or **Search by name or description**). On that card, turn on the **toggle**. A browser tab or window may open for the connector wizard.
      </Step>

      <Step title="Paste the workspace token">
        Paste into the **`Shortcut-Token`** field when prompted.
      </Step>

      <Step title="Finish the connection">
        Click **Submit API Key**. When the connection succeeds, the wizard shows **Connection Configured**.
      </Step>

      <Step title="Confirm the source is Active">
        Close the **Iru is requesting access to external services** browser tab, then return to **Compliance** → **Sources** and confirm the **Shortcut** card is **Active**.
      </Step>
    </Steps>
  </Tab>
</Tabs>

### Troubleshooting

<AccordionGroup>
  <Accordion title="Nothing opens when you turn the source on">
    Check **pop-up blocker** settings for the Iru site and try again.
  </Accordion>

  <Accordion title="401 Unauthorized">
    New token; check auto-revocation.
  </Accordion>
</AccordionGroup>

### Related Articles

<CardGroup cols={2}>
  <Card title="Sources Management" icon="plug" href="/en/compliance/sources-management">
    Browse and manage every Compliance source.
  </Card>

  <Card title="Getting Started With Compliance" icon="rocket" href="/en/compliance/getting-started-with-compliance">
    Frameworks, actions, and **Artifacts**.
  </Card>

  <Card title="Iru Overview" icon="layer-group" href="/en/iru/platform-overview/iru-overview">
    How Endpoint, Compliance, and Identity fit together.
  </Card>

  <Card title="Artifacts Management" icon="folder-open" href="/en/compliance/artifacts-management">
    Upload, review, and organize evidence from sources and actions.
  </Card>
</CardGroup>
