> ## 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](/home/setup/trello), then
register them on an existing `ws`. Commands:
[Python](/python/cli/trello) · [TypeScript](/typescript/cli/trello).

**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())
```

**TypeScript**

```typescript theme={null}
import { TRELLO } from '@struktoai/mirage-core'

const config = { apiKey: '...', apiToken: '...' }
ws.registerCli('trello', TRELLO, config)
```


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