> For the complete documentation index, see [llms.txt](https://docs.violetlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.violetlabs.com/apps/a/asana/optional-connect-using-a-pat.md).

# \[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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.violetlabs.com/apps/a/asana/optional-connect-using-a-pat.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
