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

# Linear connection

> Learn how to configure a Linear connection for Infisical.

A Linear connection authenticates Infisical to Linear with a [personal API key](https://linear.app/docs/api-and-webhooks#api-keys), so Infisical can read the Linear issues that requesters link to PAM access requests.

> [!NOTE]
>
> This guide only authenticates Infisical with Linear. Once the app connection is ready, you can [use it to set up integrations](#step-3-configure-integrations).

## Prerequisites

* A Linear user who can create API keys (admins always can, and members can if an admin allows it under **Settings** > **Administration** > **API**)
* Access to the teams whose issues Infisical needs to read

> [!NOTE]
>
> The connection stops working if its key's user leaves Linear. Consider creating the key as a dedicated Linear user who belongs only to the teams your rules check.

## Step 1: Create an API key

Infisical needs a Linear API key that can read your issues. The key can only read the issues that its user can see.

**Step 1**

In Linear, go to **Settings** > **Account** > **Security & Access**, and create a personal API key.

**Step 2**

Enter a name, such as `infisical`, and give the key the **Read** permission. To limit which issues Infisical can read, limit the key to specific teams.

**Step 3**

Copy the key. Linear shows it only once.

## Step 2: Create the app connection

Next, create the app connection in Infisical.

> [!TIP]
>
> To create the connection using the API, use the Linear [Create](https://infisical.com/docs/api-reference/endpoints/app-connections/linear/create.md) endpoint.

**Step 1**

In the sidebar, select **Integrations**, then open the **App Connections** tab.

**Step 2**

Select **Add Connection** and choose **Linear**.

**Step 3**

Fill out the form's fields:

* **Name**: A descriptive name for the connection
* **Description** (optional): A note for future reference
* **Method**: **API Key**
* **API Key**: The API key you [created in Step 1](#step-1-create-an-api-key)

Then, select **Connect to Linear**.

When you select **Connect to Linear**, Infisical checks that Linear accepts the API key, and doesn't save the connection if Linear rejects it.

> [!TIP]
>
> Your Linear app connection is ready to use.

## Step 3: Configure integrations

Now that your Linear app connection is configured, you can use it to set up the following integrations:

> [card] [PAM auto-approval](https://infisical.com/docs/documentation/platform/pam/access-requests/auto-approval.md)
>
> Check the Linear issues that requesters link to PAM access requests, and let AI checks read them.


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