MuleSoft Connector for Trello

Build 21.0.7930

Establishing a Connection

This section describes how to connect to Trello from your AnyPoint Studio project. You can use wizards or the XML editor in AnyPoint Studio to define connection properties in a global element. Global elements can be reused across other building blocks in your project.

Create a Connection in the Visual Editor

Complete the following steps to visually add the connector to your project and create a connection:

  1. Create a new Mule Project in Anypoint Studio.
  2. From the palette, drag the connector into your Mule flow.
  3. On the Message Flow canvas, double-click the connector icon to open the connector properties in the Properties pane.
  4. In the General section, click Add and define the Trello connection properties. Note that the user name and Password properties always appear here. The user name must be set as it is used as the key for the connection if connection pooling is enabled.

Create a Connection in the XML Editor

Set connection properties in the <cdata-trello:config> element in the root of the project's XML.

Note: The user name attribute must always be included here and serves as the key for the connection if connection pooling is enabled.

  <cdata-trello:config name="CData_Trello_Configuration" username="MyName" connectionProperty1="MyProperty" ... doc:name="CData Trello: Configuration"/> 

Trello uses token-based authentication to grant third-party applications access to their API. When a user has granted an application access to their data, the application is given a token that can be used to make requests to Trello's API. Trello's API can be accessed in 2 different ways. The first is using Trello's own Authorization Route, and the second is using OAuth1.0.

Authenticate using the Trello Authorization Route

At the moment of registration, Trello assigns an API key and Token to the account.

Note: Set AuthScheme to Token to activate this authentication method.

At the moment of registration, Trello assigns an API key and Token to the account. We can retrieve this API key after logging in to Trello and visiting After obtaining your API key, you can use it to obtain a Token by visiting{Key} and replacing {key} with the obtained API key. After visiting the page, you can authorize the application to use your account by clicking the allow button. You'll be redirected to a page with your token. To make requests to Trello's API you will need both API key and Token.

Note: You can change the expiration time of the token by changing expiration= with one of the following values (1hour, 1day, 30days, never).


  • APIKey: The key found at
  • Token: The token obtained

Authenticate using OAuth

Note: Set AuthScheme to OAuth to activate this authentication method.

Similar to using Authorization, OAuth creates an Application Id and Secret when you create your account. See Using OAuth Authentication for information on how to to connect.

Configure Connector Operations

The connector is an operation-based connector; its operations correspond to SQL statements and expose other functionality such as Schema Discovery. See Using the Connector (Mule 3.8+) for more information on executing SQL to Trello in Mule applications.

Copyright (c) 2021 CData Software, Inc. - All rights reserved.
Build 21.0.7930