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

# Trello

> Set up the Trello CLI with Python or TypeScript.

Mirage defines this command tree over the [Trello REST API](https://developer.atlassian.com/cloud/trello/rest/).

Create an API key and token in [Trello setup](https://docs.mirage.strukto.ai/home/setup/trello.md), then
register them on an existing `ws`. Commands:
[Python](https://docs.mirage.strukto.ai/python/cli/trello.md) · [TypeScript](https://docs.mirage.strukto.ai/typescript/cli/trello.md).

> [tab] Python
>
> ```python theme={null}
> from mirage.commands.cli.builtin.trello import TRELLO
> from mirage.core.trello.config import TrelloConfig
>
> config = TrelloConfig(api_key="...", api_token="...")
> ws.register_cli("trello", TRELLO, config.model_dump())
> ```

> [tab] TypeScript
>
> ```typescript theme={null}
> import { TRELLO } from '@struktoai/mirage-node'
>
> const config = { apiKey: '...', apiToken: '...' }
> ws.registerCli('trello', TRELLO, config)
> ```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.