HubSpot-ruby sample Trello integration app

July 22, 2021 ยท View on GitHub

This is a sample app for the hubspot-ruby SDK. Currently, this app focuses on demonstrating of Trello integration, Trello cards and HubSpot deals in particular.

Setup App

Make sure you have Docker Compose installed.

Configure

  1. Copy .env.template to .env
  2. Paste your HUBSPOT_CLIENT_ID, HUBSPOT_CLIENT_SECRET, HUBSPOT_APPLICATION_ID and HUBSPOT_DEVELOPER_API_KEY
  3. Paste you TRELLO_API_KEY. You can obtain it from https://trello.com/app-key

Running

The best way to run this project (with the least configuration), is using docker compose. Change to the webroot and start it

bash docker-compose up --build

In separate tab of console run docker-compose run web rake db:migrate to run migrations of database.

Copy Ngrok url from console. Now you should now be able to navigate to that url and use the application.