# Figma
URL: https://docs.clearly-ai.com/docs/integrations/documents/figma
Description: Connect Clearly AI to Figma and FigJam.
Connect Figma so you can add Figma and FigJam files to a Project as sources. Clearly AI only reads files and does not change anything in Figma.

The Figma integration authenticates with a Figma access token. Signing in with Figma (OAuth 2.0) is not available.

## Create a Figma access token [#create-a-figma-access-token]

Use one of these tokens:

* A **personal access token** reads the files its owner can open in Figma. Create it from the Figma account Clearly AI should act as, such as a service account.
* A **plan access token** reads files across your Figma plan. A Figma plan admin creates it.

To create a personal access token:

1. In Figma, open the account menu and select **Settings**.
2. Select the **Security** tab.
3. Under **Personal access tokens**, click **Generate new token**.
4. Enter a name, set an expiration, and assign the `file_content:read`, `file_comments:read`, and `projects:read` scopes.
5. Copy the token. Figma shows it only once.

See [Manage personal access tokens](https://help.figma.com/hc/en-us/articles/8085703771159-Manage-personal-access-tokens) in the Figma docs.

<Note>
  Create a personal access token from a Figma account with a Full or Dev seat. Figma allows View and Collab seats only a few file reads per month, so imports fail soon after setup.
</Note>

## Set up Figma [#set-up-figma]

An admin sets up Figma once for the whole workspace. Everyone who adds Figma sources uses the same token.

<Steps>
  <Step>
    ### Open the Figma integration [#open-the-figma-integration]

    In **Organization settings** > **Integrations**, click **Allow** on the Figma card if it's under **Available**. Then open **Connections**, click **Add connection**, choose **Figma** under **Integration**, and choose **Everyone in the workspace** under **Who can use it**.
  </Step>

  <Step>
    ### Paste the token [#paste-the-token]

    Paste the token into the **API token** field.
  </Step>

  <Step>
    ### Save and test [#save-and-test]

    Click **Save Authentication**. Clearly AI tests the token and saves the connection only when the test passes.
  </Step>
</Steps>

## Add a Figma file as a source [#add-a-figma-file-as-a-source]

<Steps>
  <Step>
    ### Copy the file link [#copy-the-file-link]

    In Figma, copy the link to the design file, FigJam board, or Slides deck.
  </Step>

  <Step>
    ### Paste it into the Project [#paste-it-into-the-project]

    Open a Project and click **Manage Sources**. Paste the link into the source field, then click **Add Sources**.
  </Step>
</Steps>

Clearly AI accepts file links whose path starts with `/design/`, `/file/`, `/board/`, `/slides/`, `/deck/`, or `/proto/`, such as `https://www.figma.com/design/<file_key>`. It imports the full Figma document, including the file's branches.

Figma project and team links can't be added as sources. Add the link for each file instead.

## FAQs [#faqs]

<Accordions>
  <Accordion title="Why can't I sign in with Figma?">
    Figma restricts OAuth sign-in to apps it has approved, so Clearly AI connects with an access token instead.
  </Accordion>

  <Accordion title="Why does saving the token fail?">
    The token may have expired or be missing a scope. Create a new token with `file_content:read`, `file_comments:read`, and `projects:read`, and paste it into **Shared API Token**.
  </Accordion>

  <Accordion title="Why can't Clearly AI find a file?">
    The Figma account that created the token must have access to the file. Share the file with that account, or create the token from an account that already has access.
  </Accordion>

  <Accordion title="Why did imports stop working?">
    Figma limits how many files View and Collab seats can read each month, and waiting a few minutes does not help. Replace the token with one created from a Figma account with a Full or Dev seat.
  </Accordion>

  <Accordion title="Why is a file too large to import?">
    Clearly AI rejects a file whose Figma document is larger than 20 MB. Split the file into smaller files in Figma and add each one.
  </Accordion>

  <Accordion title="How do I rotate the token?">
    Create a new token in Figma, then replace the token in the Figma integration in Clearly AI. Revoke the old token in Figma after the new one works.
  </Accordion>

  <Accordion title="Can I connect Figma in Chat?">
    No. Chat has no Figma connector, so you can't connect your own Figma account there. Chat can use Figma files that are sources in the Project.
  </Accordion>
</Accordions>

## Related [#related]

* [Integrations](https://docs.clearly-ai.com/docs/integrations) - Auth patterns and credential scope
* [Notion](https://docs.clearly-ai.com/docs/integrations/documents/notion) - Connect Clearly AI to Notion