# Linear

[<mark style="color:blue;">Linear</mark>](https://linear.app/) is an issue-tracking tool that helps users to streamline software projects, sprints, tasks, and bug tracking.

Route detailed alerts from Linear to the right users in Squadcast.

### Using Linear as an Alert Source

1. Navigate to **Services** -> **Service Overview** -> select or search for your Service. Expand the accordion -> In the Alert Sources section, click **Add**.

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-4fbd74e7ca0b30173c47a1d58ed6a0804a0465aa%2FAlert_Sources.png?alt=media\&token=aaca6610-9d18-4dd4-9cf5-320042f326f1)

2\. Select **Linear**. Copy the displayed **Webhook URL** to [configure](#create-a-squadcast-webhook-alert-in-linear) it within **Linear**. Finish by clicking **Add Alert Source** -> **Done.**

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-bf7d24fd052a6787b9e7c849fa9dbe75862bb963%2FLinear.png?alt=media\&token=efacd16a-ca9d-450a-8c5e-4aa875d18b62)

{% hint style="warning" %}
**Important:**

When an alert source turns Active, it’ll show up under Configured Alert Sources, you can either generate a test alert from the integration or wait for a real-time alert to be generated by the Alert Source. An Alert Source is active if there is a recorded incident via that Alert Source for the Service.
{% endhint %}

### Create a Squadcast Webhook Alert in Linear

**(1)** Login to your Linear dashboard. Head over to the **Workspace** tab. Click on the **Workspace** name, then select **Workspace settings**

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-95ebbc488a7112168c6de088eb5b3131d9b80b4c%2Flinear_2.png?alt=media\&token=45765a3b-c3fe-49e8-8d75-057a2b6def85)

**(2)** Under the **Settings** menu, scroll to the **Account** section and choose **API**. Then under **Webhooks**, click on **New webhook**

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-e054cc0404940b23b46b42fc9139922a37debea9%2Flinear_3.png?alt=media\&token=e4312084-62ed-42a6-9111-0054767959fe)

**(3)** Set a **Label** for the webhook. Paste the previously copied Squadcast Webhook URL in the placeholder for **URL**. Select **Event types** and the **Teams** for which the webhook should send alerts. Then click on **Create webhook**

![](https://1574591692-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F8TaWz01jmUJl58p4ZVel%2Fuploads%2Fgit-blob-5fa7cc3b7dc082859cfdec6c240dfd9956188e93%2Flinear_4.png?alt=media\&token=356cafe5-133e-4718-949b-47da518aa2f4)

That's it, you are good to go! Your Linear integration is now complete. Whenever Linear fires an alert for an issue created in the integrated workspace, an incident will be created in Squadcast for it. Also, when the issue status has changed to **Done** in Linear, the corresponding incident gets **auto-resolved** in Squadcast.

*Have any questions?* [*Ask the community*](https://community.squadcast.com/view/home)*.*
