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

# Connect Linear

Connect Linear so reviews check each pull request against the Linear issues it links, and so you can file Linear issues from a review. Connecting Linear is an admin action, and you need permission to install an app in your Linear workspace.

## Connect your workspace


    <Step title="Connect Linear">
        Go to [**Integrations**](https://app.sourcery.ai/dashboard/integrations) and connect
        Linear. Sourcery sends you to Linear to install the app, then brings you back.
    </Step>

    <Step title="Choose a default team">
        Pick the team new issues go to when a request doesn't name one. You can skip this: Sourcery
        then asks which team to use.
    </Step>



## Create issues from reviews

File what a pull request still owes its linked Linear issues with one pull request comment:

```text
@sourcery-ai create issue for missing requirements
```

To fix something a review comment raises later, reply in its thread with `@sourcery-ai create issue`, or ask in your own words:

```text
Let's track this as tech debt.
```

The issue goes to the team you name, else the linked issue's team, else the default team. Name a team, or make the issue a sub-issue:

```text
@sourcery-ai create issue in the Platform team
```

```text
@sourcery-ai create issue as a sub-issue of ENG-412
```

## What's next
