# Configuring Asana using a Personal access token

### Video overview

{% embed url="<https://files.gitbook.com/v0/b/gitbook-x-prod.appspot.com/o/spaces%2For99xDEElfps9uMDY60K%2Fuploads%2FAJYPjkyMAnqfx2Es1fm6%2Fasana_apikey_config.mp4?alt=media&token=1f0fb929-edec-4d69-84f4-1a8dc2261e74>" %}

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

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

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

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

1. Now, **make sure you're logged** into your Asana account at [app.asana.com](https://app.asana.com/)
2. To **find your workspace ID** open link [app.asana.com/api/1.0/workspaces](https://app.asana.com/api/1.0/workspaces) and copy the workspace gid from the result. Paste it into the Workspace ID field.
3. Generate a **Personal access token**<br>

   <figure><img src="/files/OqPZkheeBegb588oUvYQ" alt=""><figcaption><p>Generating a personal access token</p></figcaption></figure>

   1. Open [app.asana.com/0/my-apps](https://app.asana.com/0/my-apps) and under Personal access tokens select "Create new token"
   2. In the "Create new token" dialog, give it a clear name, we suggest 'smaply-connector' and click "Create token"&#x20;
   3. Copy the generated token into the configuration screen in Smaply
4. Save the configuration and the connection success message should be shown&#x20;

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

{% hint style="info" %}
Learn more about Personal access tokens at <https://developers.asana.com/docs/personal-access-token>
{% endhint %}


---

# 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/asana/configuring-asana-using-a-personal-access-token.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.
