To use Trello bricks in your mods, such as creating a new card in Trello, you’ll need to set up a few things. Start with your integration, and then consult the mod activation or brick field values to determine what else you need.
You can watch this video, or scroll below to read the text version.
Setting up a Trello integration
- You can do this from a couple of different places.
- For a Team Integration that can be accessed by anyone in your team: From the Integrations page, you’ll need to select + Add Integration, and then search for Trello and select it.
- For a personal integration, head to the Extension Console, then select Integrations on the left menu. Next select, + Add Integration, and then search for Trello and select it.
- From within the configuration setting of a mod, click + Add new in the Integrations section.
- You’ll see a modal like this appear.
- Name the integration anything you’d like.
- Get your Trello API key by going to the Power Up Admin Portal. Click the blue New button in the top right corner.
- You’ll need to fill out some information about the integration you’re setting up. The most important part is selecting the Workspace that you want to have access to. Unfortunately at this time you can only select one, so if you need access to multiple, you’ll need to set up multiple integrations.
- From there you’ll be directed to a page where you need to click Generate a new API key. Once you do that, your new key will be available.
- One more step! We need to generate the token.
You'll see a link to generate a Token to the right of the
API key
field in Trello. Click that.
You do NOT need to fill out the iframe connector URL
field, but you will need to fill out the others. You can use your own email address for the email
and Support contact
fields.
Click the copy button next to the API key
field, and then paste that into apiKey
field in the PixieBrix integration modal.
You’ll go to a page that asks you to give your Trello account access to the application.
https://trello.com/1/authorize?key={{apiKey}}&name=PixieBrix&scope=read,write&expiration=never&response_type=token
You do NOT need to do this if you clicked the Token link.Paste the new URL with your token in Chrome and you’ll be directed to a Trello authentication page where you’ll approve PixieBrix to use your personal key.
Scroll the bottom and click Allow.
Trello will direct you to a new page with another string of letters, and numbers. Copy that and paste that into the apiToken
field in PixieBrix.
- Select Save in the PixieBrix console after you’ve put in your Key and Token, and you’re all set to use your Trello integration!