> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mains.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Trello

The Trello integration syncs cards from your selected boards into Mains's entity store. Once synced, Trello cards are available as context for AI agent conversations.

## **Authentication**

Trello uses an **API Key + Token** pair for authentication. You can generate these from your Trello account's developer settings.

<Note>
  Mains stores your Trello credentials encrypted in the local database. They never leave your machine.
</Note>

## **Setup**

<Steps>
  <Step title="Connect Trello">
    Go to **Settings > Connections** and click **Connect** next to Trello. Enter your API Key and Token.
  </Step>

  <Step title="Select boards">
    After authentication, choose which boards to sync. Only cards from selected boards will be fetched.
  </Step>

  <Step title="Initial sync">
    Mains performs an initial sync to fetch existing cards. Subsequent syncs happen incrementally.
  </Step>
</Steps>

## **Revoking access**

To disconnect Trello, go to **Settings > Connections** and click **Revoke** next to Trello. This removes all synced Trello data and deletes the stored credentials.
