What is Heroku Enterprise?

As a developer wouldn’t it be great if you could choose the language and tools in which you want to construct apps? So here’s Heroku Enterprise that provides one such intuitive interface that enables you to build custom applications in open-source languages like Java, Ruby, Python, PHP, JavaScript, and Go. It also gives you the ability to use frameworks like Node.js, Ruby on Rails, Django, or Spring to build web applications. You can also use Heroku to deploy, run, manage, and scale your apps.

Since Heroku Enterprise is part of the Salesforce Platform, you can build powerful web and mobile applications on Heroku platform and still stay connected to your data inside Salesforce.

Why do you want to integrate Heroku and Salesforce?

Your organization has great data about product and its pricing in Salesforce. And you want to build a front-end of a web applications using Java that sells those products. What you can do is,  build a application using JAVA, run your application on Heroku platform and integrate it with Salesforce. This way, you can utilize the products data from Salesforce and display on your web application. If a user likes the product, you can also send back that information to salesforce.

How can you integrate Heroku and Salesforce?

There are number of methods available for integrating Salesforce and Heroku, including:

  • Heroku Connect
  • Salesforce Connect
  • Salesforce REST APIs
  • Callouts
  • Canvas

Heroku Connect

Just like browsers have extensions, Heroku platform has add-ons. Heroku Connect is an add-on, that synchronizes data between a Salesforce and a Heroku Postgres database (managed SQL database service provided directly by Heroku). Depending on how it’s configured,  synchronization can be:

  • Read-Only one way sync where data flows from Salesforce into PostgreSQL
  • Read/Write where data travels both ways.

The syncing between Force.com and Heroku happens in near to real time.

Best part of using Heroku Connect is

  • Developers can focus on writing great apps rather than having to spend time writing complex Salesforce integrations. You don’t need any complicated configuration or coding to get the sync between Salesforce and Heroku Postgres.
  • Ability to access Salesforce data via SQL: By bringing a copy of Salesforce data into Postgres, Heroku Connect lets you use the full power of SQL. Querying the database instead of calling the API can greatly simplify your Heroku application. Your Heroku Postgres database is automatically kept up to date by Heroku Connect.
  • Performance and scale:Because all data is statefully stored in the database, Heroku Connect allows Postgres to act as an API cache, quickly responding to read requests without requiring calls back to Salesforce.
  • Heroku Connect’s data synchronization with your Salesforce organization which relies on the SOAP API, is not counted against your Salesforce API usage limits.

By now you might have a little idea about what is Heroku Connect. Stay tuned, in the upcoming blog we will learn how to integrate Heroku and Salesforce using Heroku Connect. Till then you can complete the signup process.

Sign-up to play around with your new friend:

Here we will create a simple app and we will not get into details of deployment.

  1. Navigate to https://signup.heroku.com and create a Heroku account.
  2. Navigate to Dashboard and click on new to create a new App. Specify the App Name and take note of it.
  3. SelectUnited Statesas the Region, then click Deploy App.

And your application is available at http://APP_NAME.herokuapp.com.(Example: https://my-app.herokuapp.com)