> ## 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 CLI

> Set up the Trello CLI.

![](https://mintcdn.com/struktoai/F9Lv_nTaj6By6crk/images/python-logo.svg?fit=max\&auto=format\&n=F9Lv_nTaj6By6crk\&q=85\&s=cf5b268d330f7db46ea5cf6083f309a1)

Node.js

Browser

![](https://mintcdn.com/struktoai/CsxMCKUyfoQQJYHB/images/cloudflare-logo.svg?fit=max\&auto=format\&n=CsxMCKUyfoQQJYHB\&q=85\&s=23668457afa14abb3b0db0f5b9c0541a)

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`.

> [tab] YAML
>
> ```yaml workspace.yaml theme={null}
> clis:
>   trello:
>     cli: trello
>     machine: in_process
>     config:
>       api_key: ${TRELLO_API_KEY}
>       api_token: ${TRELLO_API_TOKEN}
> ```

> [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)
> ```

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

## SDK guides

> [card] [Python](https://docs.mirage.strukto.ai/python/cli/trello.md)
>
> Every command, its flags and behavior.

> [card] [TypeScript](https://docs.mirage.strukto.ai/typescript/cli/trello.md)
>
> Every command, its flags and behavior.

## License

| Project | Role in Mirage | License |
| - | - | - |
| [Mirage](https://github.com/strukto-ai/mirage) | Command implementation | [Apache-2.0](https://github.com/strukto-ai/mirage/blob/main/LICENSE) |

See [compatibility and licenses](https://docs.mirage.strukto.ai/home/setup/clis.md#compatibility-and-licenses).


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