Skip to content

Use Trello to work with the cards on your Trello boards from your app, such as a request form that adds a card or a screen that shows a board’s lists. To connect, you need a Trello API key and a token made with it.

Connect Trello

The connection acts as the Trello account that made the token, so your app reaches every board that the account can open.

First, get the API key and the token in Trello:

  1. Create a Power-Up at trello.com/power-ups/admin, with any name and Workspace.
  2. On the Power-Up’s API key tab, generate an API key. The key is 32 letters and numbers.
  3. Follow the Token link beside the API key, allow access, and then copy the token that Trello shows. The token starts with ATTA.

Only a project owner can connect Trello. If you’re a project owner, connect Trello to your app:

  1. Open Project Settings › Connections, and then turn on the switch for Trello.
  2. In the Connect Trello dialog, fill in the fields:
    • API key: the 32-character key. Find it opens Trello’s Power-Up admin page.
    • Token: the token that starts with ATTA.
  3. Click Connect.

For more about connecting, see Connect a service.

What to ask

With Trello connected, your app can work with your boards, lists, and cards. For example, it can list your open boards, read a board’s lists, labels, and members, and read the open cards on a board or in one list. It can read a card with its latest comments, add a card to a list, and change a card’s name, description, dates, labels, or members. It can also move a card to another list on the same board or on a different board, archive a card, and comment on a card.

Example request

Add a Request a feature form that adds a card to the Ideas list on my Product board in Trello, with the title and details that people enter.

Example request

Add a Roadmap screen that shows the lists on my Product board in Trello, with the cards in each list and their due dates.

Example request

On the card screen, add a box for commenting on the card in Trello, and a button that moves the card to the Done list.

Descriptions and comments go to Trello as Markdown. Comments appear under the name of the account that made the token.

Agent questions

If Trello isn’t connected, the agent asks you to connect it in a card above the message box. See Connect when the agent asks.

Review

After the agent finishes, read the turn’s Summary and review its Changes. Check the affected screens in Screens, and try the change in Preview. If the change uses records or sign-in, test it with the thread’s own data in Data.

After you push a backend change, check the result in Backend.

Trying the feature in Preview adds and changes real cards on your Trello boards, so test it on a board that you use for testing. See How connections work.

Call limit

Your app and the agent share a limit of 120 calls a minute to Trello through your app’s connection. See Limits.

Push

When the feature works, push the changes to your app.

Next steps

Troubleshooting

  • Trello refuses the key or token: check that you pasted the 32-character API key into API key and the token that starts with ATTA into Token, or make a new token from the Token link beside your API key. See A service refuses your key.
  • Your app shows a message about the service: see Messages shown in your app.