Step 1 — Get your API Key & Token
Open these two URLs in your browser while logged into Trello:
API Key: https://trello.com/power-ups/admin → New → Generate API Key
Token: https://trello.com/1/authorize?key=YOUR_KEY&scope=read,write&expiration=never&name=NTUCBuilder&response_type=token → Allow
Step 2 — Install the only dependency
pip install requestsStep 3 — Run the script
# Option A: Set credentials at the top of the script (lines 26–27) # API_KEY = "paste_your_key_here" # API_TOKEN = "paste_your_token_here" # Option B: Use environment variables (more secure) export TRELLO_KEY=your_key_here export TRELLO_TOKEN=your_token_here python build_ntuc_trello.pyIt targets your existing board at trello.com/b/8FOYsAnt and executes five steps in sequence:
Resolves the board — confirms access and retrieves the full board ID
Archives any existing default lists — clears the blank Trello starter lists so nothing conflicts
Creates/renames all 6 labels — On Track (Green), At Risk (Yellow), Delayed (Red), GATE–Blocked (Black), Stopped/On Hold (Grey), Completed (Blue)
Creates all 8 lists in exact left-to-right order
Creates all 37 cards — each with its reference number, full description, due date, and a ready-built "Done When" checklist (3–6 items per card)
Hello and welcome to the Community @Michael Burgess
1. Go to Trello Power-Ups admin.
2. Create a new Power-Up, or open an existing one.
3. Go to the API Key tab.
4. Generate/copy the API key.
5. Use the Token link next to that key to authorize access.
6. Copy the generated token.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.