Heroku integration

What is Heroku?

It is a cloud platform that uses a container-based architecture called "Dynos", which allows development teams to store and run any web application on virtualized containers.

The service offers built-in metrics allowing you to monitor and manage the performance of your applications directly from the Heroku dashboard.

How does Heroku app integration work?

Combined with Buddy’s pipelines powered by Docker containers, the integration allows you to automate various tasks related to Continuous Integration/Continuous Deployment (CI/CD).

For instance, you can configure a pipeline to deploy to Heroku after each push to your git repository, or schedule your application's update at a certain time of each day.

On top of that, the integration lets you execute commands remotely with Command Line Interface using Heroku CLI action, as well as parameterize the commands with environment variables.

Image loading...Pipeline example for Heroku integration

Setting up Heroku integration

  1. When setting up the integration for the first time, go to the Integrations tab and click New integration.
  2. Look up and click Heroku (it can be found under the PaaS category):

Image loading...Heroku integration selection

  1. Once the configuration window shows up, provide integration name and click Start OAuth authorization:

Image loading...Heroku integration configuration

Hint
You can adjust the privacy settings of your integration (i.e. who can use it and where) in the Sharing tab.
  1. Log in to your Heroku account and authorize Buddy to access it:

Image loading...Heroku account authorization

Now, to enable automatic Heroku deploy upon each push and start creating your first app, you only need to connect e.g. your GitHub repository and configure a continuous delivery pipeline in Buddy.

Hint

📚 Learn more about Heroku action features, integrations and alternatives.

Last modified on Sep 23, 2024