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

# Linear

> Assign a Linear issue to the Empirical agent to create a coverage task that agents start working on right away

Assign a Linear issue to the **Empirical** agent to turn it into a [task](https://empirical.run/docs/platform/tasks.md). Agents
start working on the task right away, using the issue's title, description and attachments as the
brief.

## Install

**1. Open the Tasks settings**

Open [Settings → Tasks](https://empirical.run/settings/tasks).

**2. Connect Linear**

Click **Connect** on the Linear card.

**3. Approve the permissions**

Approve the permissions in Linear. The integration is ready as soon as you return.

## Create a task from an issue

1. In Linear, create an issue or open an existing one. Describe the user scenario to test in the
   title and description, and attach screenshots or files the agent should see.
2. Assign the issue to the **Empirical** agent.

Empirical reacts with 👍, creates the task and attaches a link to it on the issue. Follow progress
on the task in Empirical. Linear doesn't show task status changes.

Mentioning the agent doesn't create a task. Assign the issue instead.

## Route issues to projects

With one project, every issue goes to it. With more than one, map each Linear team to a project under
**Settings → Tasks → Project associations**. Issues then go to their team's project.

## Permissions

| Scope | Why Empirical needs it |
| - | - |
| `read` | Read the issue's title, description and attachments |
| `write` | React to the issue and attach a link to the task |
| `app:assignable` | Let issues be assigned to the Empirical agent |
| `app:mentionable` | Let the Empirical agent be mentioned in Linear |


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