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

# Linear Integration

> Connect Linear so your team can assign issues or mention CloudThinker in comments and get investigation answers directly in the issue.

Connect Linear once and anyone in your Linear workspace can assign an issue to CloudThinker or mention `@CloudThinker` in a comment. CloudThinker investigates with your linked CloudThinker workspace's connections, posts a link to the full chat conversation, and replies directly in the Linear issue.

> [!NOTE]
>
> This page covers the Linear chat integration (asking CloudThinker from inside Linear). To let CloudThinker read or update Linear issues from web chat, set up the [Linear connection](https://docs.cloudthinker.io/guide/connections/linear.md) instead.

## Prerequisites

* A CloudThinker organization **Owner** or **Admin** (or workspace **Admin**) with permission to edit connections.
* A Team, Scale, or Enterprise plan. On the Free plan, **Linear** shows **Requires Team plan**. See [pricing](https://docs.cloudthinker.io/guide/billing/pricing.md).
* Permission to install OAuth apps in your Linear organization.
* CloudThinker hosted at app.cloudthinker.io. Self-hosted installs show **Not available on self-host**.

Each Linear organization connects to one CloudThinker workspace.

## Connect Linear

You can start the connection from CloudThinker or from a Linear install link.

**1. Open Linear in Chat integrations**

Go to **Settings → Organization → Chat integrations**, find **Linear**, and click **Configure**. To open Settings, click the workspace menu at the top of the sidebar, then **Settings**.

**2. Click Connect Linear**

Linear opens its authorization screen for the CloudThinker app. Choose your Linear organization and click **Authorize**.

**Success state:** CloudThinker finishes the connection automatically and returns you to the Linear page with **Linear connected** and your organization listed under **Connected Linear sites**.

**3. Ask CloudThinker on an issue**

Open any Linear issue and assign it to **CloudThinker**, or comment:

```text theme={null}
@CloudThinker What caused the API 500 spike after the last deploy?
```

**Success state:** CloudThinker posts a short status update with a link to the chat conversation, then replies in the issue once it finishes.

If someone opens a CloudThinker link from Linear before the workspace is linked, the link opens a single-button **Connect Linear** page. Pick the target CloudThinker workspace if you belong to more than one, click **Connect Linear**, and authorize the Linear organization.

## Ask CloudThinker in Linear

Write requests in plain language, or name a connection when it matters. See [Commands and prompt syntax](https://docs.cloudthinker.io/guide/commands.md) for the full syntax.

```text theme={null}
@CloudThinker Check why the checkout latency alert fired
@CloudThinker Summarize recent errors in #connection/sentry for this service
@CloudThinker Inspect the latest deployment diff and flag risky changes
```

* **Follow-ups:** reply in the same Linear agent session to continue the same CloudThinker chat conversation.
* **Continue in CloudThinker:** open the link in CloudThinker's status update to inspect tool output, approve pending actions, or keep chatting in the web app.
* **Stop a run:** stop the active agent session in Linear to cancel the running CloudThinker turn.
* **Model selection:** Linear uses the **Model in chat apps** setting under **Settings → Organization → Chat integrations**.

## Who requests run as

Every request from a linked Linear organization runs in its linked CloudThinker workspace as that workspace's system user, using that workspace's connections. Anyone who can assign or mention `@CloudThinker` in the linked Linear organization can ask it questions, so connect a Linear organization only to a workspace that team may use.

Requests run in autonomous read-only mode when an action requires approval. If a request needs a write action gated by your [approval rules](https://docs.cloudthinker.io/guide/approvals/overview.md), CloudThinker replies with a link to open the conversation in CloudThinker and approve it there.

## Disconnect Linear

Go to **Settings → Organization → Chat integrations → Linear** and click **Disconnect** next to the Linear organization. Earlier conversations stay in your CloudThinker workspace. You can also revoke the app from Linear's workspace settings; CloudThinker clears the saved tokens automatically.

## Troubleshooting

> [accordion] This Linear organization is already connected to another workspace
>
> Each Linear organization can link to one CloudThinker workspace at a time. Disconnect it in the other CloudThinker workspace first, then connect again.

> [accordion] Linear requires a Team plan
>
> Your organization is on the Free plan. Ask your organization Owner to [upgrade](https://docs.cloudthinker.io/guide/billing/subscription.md), then connect Linear again.

> [accordion] CloudThinker says the Linear workspace is not linked yet
>
> Open the link in CloudThinker's Linear reply, choose your CloudThinker workspace, and click **Connect Linear**.

> [accordion] The request stopped because it needs approval
>
> Open the conversation link in CloudThinker's reply so an [approver](https://docs.cloudthinker.io/guide/approvals/approvers.md) can review and run the action, or ask a read-only question in Linear.

## Next steps

> [card] [Commands and prompt syntax](https://docs.cloudthinker.io/guide/commands.md)
>
> Write requests that name a connection or run a skill

> [card] [Approvals](https://docs.cloudthinker.io/guide/approvals/overview.md)
>
> Control which actions wait for human sign-off

> [card] [Linear connection](https://docs.cloudthinker.io/guide/connections/linear.md)
>
> Let CloudThinker read and update Linear issues from chat

> [card] [Jira integration](https://docs.cloudthinker.io/guide/jira-integration.md)
>
> Ask CloudThinker from Jira work items and Rovo Chat


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