# Configuring Linear with Personal API key

### Video overview

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2For99xDEElfps9uMDY60K%2Fuploads%2FKpiQR1ySAm6yZmatzlZy%2Fconfigure-linear-apikey.mp4?alt=media&token=fdb6ba3d-422d-4ae4-91cb-802546aaaced>" %}

#### Steps to set up your Personal Access Token (PAT)&#x20;

1. In Smaply, **Open the Linear configuration page**. From your Account settings (a) > Integrations (b) > Linear Setup (c)

   <figure><img src="/files/CptjyPcR1tGvYvdCyMLK" alt="" width="375"><figcaption></figcaption></figure>

<figure><img src="/files/DogFRuxE3oxYnCX89tTU" alt="" width="375"><figcaption></figcaption></figure>

1. Now, **make sure you're logged** into your Linear account at <https://linear.app/>
2. Generate a **Personal API key** <br>

   <figure><img src="/files/7Fx4iRHBHwWi56GWuGhT" alt=""><figcaption></figcaption></figure>

   1. Go to the Linear security and access settings page at [linear.app/settings/account/security](https://linear.app/settings/account/security)
   2. Under **Personal API keys**, select 'Create a new API key' and give it a clear name, we suggest 'smaply-connector'
   3. Copy the generated token into the configuration screen in Smaply
3. Save the configuration and the connection success message should be shown <br>

   <figure><img src="/files/5jrjzvmxh51ZfpZ975aQ" alt="" width="375"><figcaption></figcaption></figure>


---

# Agent Instructions: 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:

```
GET https://helpdesk.smaply.app/integrations/planning-tools/linear/configuring-linear-with-personal-api-key.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
