> For the complete documentation index, see [llms.txt](https://docs.warp.dev/llms.txt).
> Markdown versions of each page are available by appending .md to any URL.

# Linear integration

Automate Linear issues with agents that run code in the cloud and create pull requests on your behalf.

The Linear integration lets your team delegate development work directly to agents from inside Linear. When you tag @warp on an issue or comment, an agent will spin up in the cloud, clone the repos defined in your environment, and begin working through the task.

Agents post updates inside Linear and provide a link to join the remote session. GitHub operations use the run’s configured [execution identity](https://docs.warp.dev/platform/team-access-billing-and-identity/#personal-tokens-vs-github-app-tokens). Runs acting as you use your GitHub authorization.

For event-driven factory workflows, use the [Linear trigger reference](https://docs.warp.dev/factories/automation-triggers/#linear) to select exact event names, filter keys, and label or comment subscriptions.

![Warp x Linear integration overview video](https://i.ytimg.com/vi/FNefNmbSdmg/sddefault.jpg)

* * *

### Triggering agents inside Linear

Tagging @warp on an issue or in a Linear comment starts an agent run. Warp clones the repositories defined in your environment, sets up your development environment using your Docker image and setup commands, and begins working through the task with full context from your codebase and the Linear issue. Agents post updates as they progress, including a task list, elapsed time, and checkpoints, so you can follow along without leaving Linear.

Agents also share a link to an interactive remote session using Warp’s [cloud agent session sharing](https://docs.warp.dev/platform/viewing-cloud-agent-runs/). Open it in Warp or a browser to view output or provide further instructions. The agent posts its results in Linear, including a pull request link when it creates one.

You can start an agent in two ways:

-   **Tag @warp in a comment** and describe what you want done.
-   **Assign the issue to @warp** to delegate the task.

The agent will acknowledge the request directly in the Linear issue and begin working.

Agents keep you informed through:

-   **Activity updates** inside Linear
-   A **running task list** and timeline showing what the agent is working on
-   A **shared session link** that opens a live view of the agent’s cloud environment

Session sharing works in Warp or in a browser view and allows multiple teammates to watch the session.

To monitor Linear-triggered runs alongside the rest of your team’s agents, open the [Agent Management Panel](https://docs.warp.dev/platform/managing-cloud-agents/) in the Warp app, where integration-triggered runs appear in the **All** tab.

![Live cloud agent session shared from a Linear issue, viewed in Warp on Web.](https://docs.warp.dev/_astro/linear-warp-on-web.Be6YiRoh_Z1gLBNg.webp?dpl=dpl_8TTUJcmrarMqs8x34fmRUMT1nC49)

#### Joining the remote session

Selecting [**Open in Warp**](https://docs.warp.dev/platform/viewing-cloud-agent-runs/) (or the web option) opens the active session. You’ll see:

-   The agent’s full execution log
-   The plan pane with the task list
-   An input box to add clarifying instructions
-   A real-time view identical to a local Warp task

Any instructions you give will interrupt the agent, feed the new context, and resume work.

Results from code-changing tasks can include:

-   Commits made using the run’s configured GitHub authorization
-   A pull request opened using that authorization
-   A title and description based on the Linear issue and the agent’s work
-   A summary and pull request link in the Linear issue

Pull request attribution follows the run’s [execution identity](https://docs.warp.dev/platform/team-access-billing-and-identity/#personal-tokens-vs-github-app-tokens), not necessarily the requester.

* * *

### Requirements

-   **Team membership** - Join a [Warp team](https://docs.warp.dev/platform/teams-and-admin-controls/#joining-a-team), or [create your first team](https://docs.warp.dev/platform/teams-and-admin-controls/#creating-your-first-team). Team creation does not enable integration access on an ineligible plan.
-   **Plan access** - A team plan that supports [integrations](https://docs.warp.dev/platform/team-access-billing-and-identity/#requirements-for-integrations).
-   **Usage balance** - Available usage for integration-triggered runs. Add usage if needed. See [cloud agent billing](https://docs.warp.dev/platform/team-access-billing-and-identity/#billing-for-cloud-agent-runs).
-   **Infrastructure** - By default, agents run on Warp-hosted infrastructure. Enterprise teams can [self-host agents](https://docs.warp.dev/factories/self-hosting/) on their own infrastructure.
-   **Identity** - Complete [first-use account linking](#first-use-account-linking) if prompted.
-   **GitHub authorization** - Complete any GitHub authorization requested for runs acting as you.
    -   The repositories involved must be included in your environment and accessible to the Warp GitHub app.
    -   You must have write access to the repo if you want Warp to create PRs on your behalf.

* * *

### First-use account linking

If Warp responds with a linking prompt instead of starting a run, follow [Linking your Linear account](https://docs.warp.dev/platform/team-access-billing-and-identity/#linking-your-linear-account). Linking does not automatically retry your original request. Reply to Warp in the original Linear session after linking, then confirm Warp acknowledges the request and provides run updates.

### How to configure the integration

Setup involves two steps powered by the [Oz CLI](https://docs.warp.dev/agents/cli/oz-cli/). For more instructions, see [Integrations Overview](https://docs.warp.dev/platform/integrations/).

#### 1\. Create an environment

An environment defines everything the agent needs to run your code:

-   A **Docker image** (public on Docker Hub)
-   A set of **GitHub repos** the agent should clone
-   Optional **setup commands** that run before the agent starts

You can create an environment via:

-   The CLI
-   The guided flow using `/create-environment` ([Slash Commands](https://docs.warp.dev/agents/capabilities/slash-commands/))

For full instructions, see our [Environment Setup](https://docs.warp.dev/platform/integrations/) docs.

#### 2\. Create the Linear integration

Once your environment exists, create the integration.

Note

For easier setup, use the [Oz web app](https://oz.warp.dev) to configure integrations with a guided flow.

Alternatively, you can use the CLI:

```plaintext
oz integration create linear --environment <ENV_ID>
```

The CLI will open a browser window prompting you to install the Warp app into your Linear workspace. After installation, the integration becomes available to all members of your Warp team.

Tip

If the integration cannot be created or a Linear-triggered run cannot start, use the returned error code to narrow the fix. Common errors include:

-   [`feature_not_available`](https://docs.warp.dev/factories/api-and-sdk/troubleshooting/errors/feature-not-available/) (plan does not support integrations)
-   [`external_authentication_required`](https://docs.warp.dev/factories/api-and-sdk/troubleshooting/errors/external-authentication-required/) (missing GitHub or Linear authorization)

* * *

### Uninstallation instructions

To remove the Warp app from Linear:

1.  Only a Linear team admin can manage app permissions.
2.  In Linear, go to **Settings**.
3.  Navigate to Agents under the Features section.
4.  Select **Warp** from the list of installed agents.
5.  Click **Revoke access** to remove the integration for your workspace.

After revoking access, Warp will no longer be able to read issues, receive triggers, or create updates in Linear. If you reinstall later, you’ll need to authorize Warp again during setup. Events for a disabled integration can return [`integration_disabled`](https://docs.warp.dev/factories/api-and-sdk/troubleshooting/errors/integration-disabled/).

### Troubleshooting

If something isn’t working as expected—missing repos, PR failures, Linear not detecting @Oz, or environment issues—see [troubleshooting cloud agent environments](https://docs.warp.dev/factories/environments/troubleshooting-environments/) for guidance on GitHub permissions, repo access, Docker images, and setup failures.
