What you need
- A Trello account with access to the boards you want OpenSRE to use
- A Trello API key and token
- Optional board and list IDs for automatic card creation
Setting up Trello
Quick setup
Manual config: Environment variables
Or add these to your.env:
| Variable | Default | Description |
|---|---|---|
TRELLO_API_KEY | — | Required. Trello API key |
TRELLO_TOKEN | — | Required. Trello API token |
TRELLO_BOARD_ID | (empty) | Optional default board ID for card creation |
TRELLO_LIST_ID | (empty) | Optional default list ID for card creation |
TRELLO_BASE_URL | https://api.trello.com/1 | Trello API base URL |
Persistent store
You can also save your Trello configuration to~/.opensre/integrations.json:
Getting your API key and token
- Visit https://trello.com/app-key
- Copy your Trello API key
- Generate a token from the same page
- Authorize access when prompted
- Store both values securely
Optional: Finding board and list IDs
If you’d like OpenSRE to create cards in a specific location, you’ll need the board and list IDs.Using the API
Manual method
- Open the board in Trello
- Append
.jsonto the board URL - Search the response for the board ID
- Locate the desired list and copy its ID
Token longevity
Trello tokens can be created with different expiration periods. When generating a token, choose an expiration period that aligns with your organization’s security requirements. For long-lived OpenSRE integrations, consider using an appropriately scoped token and rotating it regularly according to your security policies.Required permissions
Your Trello token should have:- read — Allows OpenSRE to view boards, lists, and cards
- write — Allows OpenSRE to create or update cards during investigations
Usage
Once configured, OpenSRE can:- Create Trello cards from investigation findings
- Send incident titles and descriptions to a target list
- Track follow-up tasks on your incident board
TRELLO_LIST_ID to the list where new cards should appear. If omitted, card creation requires the list ID at investigation time.
Trello does not currently support
opensre integrations verify trello. Confirm your credentials during interactive setup or by creating a test card from an investigation.
Tracer