|
| 1 | +--- |
| 2 | +tags: DevTools |
| 3 | +description: Connect your apps to Linear to manage issues, projects, and sprints directly from workflows. |
| 4 | +--- |
| 5 | +# Linear Integration |
| 6 | + |
| 7 | +The **Linear Integration** allows your app to connect to [Linear](https://linear.app/) to create, update, and track issues and projects seamlessly. Once connected, your app can trigger Linear actions from user interactions or automated workflows. |
| 8 | + |
| 9 | +## What You Can Do |
| 10 | + |
| 11 | +With Linear, your app can: |
| 12 | +- **Create and assign issues** automatically from user actions or AI workflows. |
| 13 | +- **Update status and priority** of tickets and projects. |
| 14 | +- **Sync with sprints and cycles** to keep work organized. |
| 15 | +- **Fetch project and issue data** for dashboards, summaries, or automation. |
| 16 | +- **Integrate with other tools** like Slack or GitHub through workflows. |
| 17 | +- Power intelligent workflows (e.g., auto-triage or auto-summarize bug reports). |
| 18 | + |
| 19 | +## Step 1: Obtain a Linear API Key |
| 20 | + |
| 21 | +1. Go to your [Linear account](https://linear.app/). |
| 22 | +2. Navigate to **Workspace Settings → API**. |
| 23 | +3. Click **Create API Key**, give it a name, and copy the key. |
| 24 | + |
| 25 | + * **Example:** `lin_api_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx` |
| 26 | + |
| 27 | +## Step 2: Configure the Integration in Your App |
| 28 | + |
| 29 | +1. Go to **Integrations → Add Linear** in your app settings. |
| 30 | +2. Paste your **Linear API Key** in the input field. |
| 31 | +3. Click **Connect** to validate and save your integration. |
| 32 | + |
| 33 | +Once connected, your app can interact with Linear to automate issue tracking and project management. |
| 34 | + |
| 35 | +## Step 3: Notes |
| 36 | + |
| 37 | +* **Keep your key secure:** Never expose your Linear API key in client-side code. |
| 38 | +* **Use environment-specific keys:** Separate dev, staging, and production keys. |
| 39 | +* **Streamlined workflows:** Automate ticket creation, status updates, and reporting directly from your app. |
| 40 | +* **Real-time visibility:** Fetch and sync project data to power internal tools or dashboards. |
| 41 | +``` |
0 commit comments