> For the complete documentation index, see [llms.txt](https://help.swarmia.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.swarmia.com/settings/integrations/issue-trackers/linear.md).

# Linear

With the Linear integration, you'll be able to see your commits and pull requests in the context of your Linear issues and projects.

* Connecting the Linear workspace needs to be done only once
* You can assign the Linear teams (and their issues) to teams on Swarmia
* We automatically map the issue statuses on Swarmia based on the Linear statuses

## Connect your Linear account

We ask you to connect Linear when connecting your GitHub organization to Swarmia. You can also do this later from [Settings → Integrations → Linear](https://app.swarmia.com/settings/linear).

The integration is simple: we ask you to authenticate your Linear workspace, and proceed to synchronize the data and create webhooks to keep everything up to date.

{% hint style="info" %}
**Recommended: connect with a service account**

The Linear account you sign in with owns the connection. If you connect with a personal account and that person later leaves and their Linear account is deactivated, Swarmia can no longer fetch the data and syncing stops. Your org admins get an email to reconnect, but you'll need another Linear account to do it.

To avoid this, we recommend signing in to a dedicated Linear member account (for example, `integrations@yourcompany.com`) before you connect, so the connection doesn't depend on any one person. That account needs:

* Linear admin rights — Swarmia creates webhooks to keep your data up to date
* access to every team whose issues you want to sync

You don't need to generate an API key. Once you're signed in as the service account, connect Linear from Swarmia as usual — just check you're in the right Linear workspace and signed in as the right account.
{% endhint %}

{% hint style="success" %}
Once the Linear integration is installed, proceed to [Linear configuration](/settings/integrations/issue-trackers/linear/linear-configuration.md).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.swarmia.com/settings/integrations/issue-trackers/linear.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
