SALESFORCE INTEGRATION WITH HEROKU
Updated: Aug 1, 2020
What is Heroku and how does it help in integration?
Salesforce can be integrated with any application that is used on a day-to-day basis. Most company’s may have different applications for different purposes that may be running on different platforms. For example, a company may have an order processing system deployed on one platform built using one programming language and an HR management application deployed on another platform built using a different programming language. These applications can seamlessly be integrated using Heroku.
Heroku is a PAAS (platform-as-a-service) platform that provides essential features to deploy, run, manage and scale applications entirely on cloud. That means you do not have to worry about infrastructure; you just focus on your application.
Heroku supports various programming languages like: Java, Ruby, PHP, Python, NodeJS, etc.
Some features of Heroku:
Instant Deployment with Git push - build of your application is performed by Heroku using your build scripts which helps in faster deployment.
Plenty of Add-on resources (applications, databases etc.) are available.
Process scaling - independent scaling for each component of your app without affecting functionality and performance.
Isolation - each process (aka dyno) is completely isolated from each other. The containers used at Heroku are called “dynos.” Dynos are isolated, virtualized Linux containers that are designed to execute code based on a user-specified command.
Full Logging and Visibility - easy access to all logging output from every component of your app and each process (dyno).
Heroku’s integration with Salesforce:
Heroku is a great place to run apps and microservices (a style for building applications that organizes loosely coupled services) that we can connect with Salesforce through different integration methods.
A bidirectional sync between data in a Salesforce org and data in a Heroku Postgres relational database. It's an add-on along with a database that one needs to purchase from heroku and it's absolutely free.
Salesforce Platform Events:
An event-bus integration that allows Heroku apps to create events on Salesforce and subscribe to events published from Salesforce.
Apex and Workflow Callouts:
You have an API built as a Heroku app and can call endpoints from Apex workflow or trigger.
Calling the Salesforce REST API:
Make calls on the Salesforce REST API from within your Heroku app.
Heroku External Objects & Salesforce Connect:
As part of Heroku Connect, expose data in Heroku Postgres within Salesforce orgs, allowing you to view, search on, and relate that data to other objects.
MuleSoft is an Integration Platform as a Service (iPaaS) and marketplace for integrating disparate enterprise systems through their APIs, designing APIs, and managing API services and their life cycles.
Security with Heroku/Salesforce integrations:
The app deployed on Heroku can either be in private or public space.
If your app runs in a private space, you can ensure that the app is not available on the public internet and only available from your Salesforce Org.
We can also ensure in Salesforce org that appropriate IP restrictions are in place to prevent public access.
To get more information on Salesforce integration with Heroku and resolve any queries on the same, contact us at firstname.lastname@example.org.