# \[Optional] Connect using a PAT

If you prefer to connect Asana using a Personal Access Token (PAT), follow the instructions below to generate one.&#x20;

Once you're done, head back to [Apps](https://app.violetlabs.com/apps/) in Violet (or [Apps](https://app.violetgov.com/apps/) in VioletGov), click **Show other authentication options**, enter your token, and click **Connect with API Token.**

### Generate a Personal Access Token in Asana

1. In Asana, navigate to your profile icon in the top right corner and click **My Settings**

<img src="/files/8vHa6PcLhzPPn24nAIeb" alt="" width="563">

2. In the top menu, select **Apps**, then **Manage Developer Apps** to navigate to the Asana developer console.

<img src="/files/kijfcwmXyTvNJ3pBJxsu" alt="" width="563">

3. Select **Create new token**, then give the token a descriptive name, select the checkbox to agree to the Asana API Terms, and click **Create token**. Copy it down - you're done!

<img src="/files/fiSA7BNjNriwEMgfxAUr" alt="" width="563">


---

# 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://docs.violetlabs.com/apps/a/asana/optional-connect-using-a-pat.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.
