# Figma

### Access tokens

A personal access token gives the holder access to an account through the API as if they were the user who generated the token. To generate a personal access token:

1. Login to your Figma account.
2. Head to Settings from the top-left menu inside Figma.
3. Find the Personal access tokens section.
4. Click Generate new token to open the configuration modal.
5. Set the expiration and [scopes](https://www.figma.com/developers/api#authentication-scopes) for the token. The scopes will determine which endpoints the token has access to.
   1. For scopes use at least
      1. ```
         org:activity_log_read
         ```
6. Click Generate token. This will be your only chance to copy the token, so make sure you keep a copy of this in a secure place.

### Information required for the Coworker connection

* `Access Token`: Token generated via process above


---

# 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://village-labs.gitbook.io/coworker-product-and-developer-docs/data-connections/figma.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.
