What is Heroku?
Heroku is a cloud platform that allows developers to deploy, manage, and scale their applications. It was founded in 2007 and was one of the first Platform-as-a-Service (PaaS) providers. It supports various programming languages including Ruby, Java, Python, PHP, Node.js, and Go.
With Heroku, developers can deploy their applications without worrying about infrastructure setup or maintenance. The platform provides a managed runtime environment, which means it takes care of operating system patches, security updates, and other system-level maintenance tasks. It also offers a variety of add-ons and tools for database management, monitoring, logging, and more.
What is Salesforce?
Salesforce is a cloud-based customer relationship management (CRM) platform that helps businesses manage their sales, marketing, customer service, and other related activities. It was founded in 1999 and is headquartered in San Francisco, California.
The Salesforce platform offers a range of tools and services to help businesses automate their sales and marketing processes, track customer interactions, and provide better customer service. The platform is highly customizable, allowing businesses to tailor it to their specific needs and integrate it with other applications.
How to connect Heroku to Salesforce ?
To connect Heroku Postgres to Salesforce, you can use Heroku Connect, a service provided by Heroku that enables syncing data between a Salesforce org and a Heroku Postgres database. Here are the steps to follow:
- Create a Heroku app and a Postgres database: If you haven’t done so already, create a Heroku app and a Heroku Postgres database.
- Install Heroku Connect: Install the Heroku Connect add-on to your Heroku app by running the following command in your terminal.
(heroku addons:create herokuconnect)
- Set up a Salesforce connection: Once you have installed Heroku Connect, you need to set up a connection to your Salesforce org. You can do this by navigating to the Heroku Connect dashboard and following the prompts to authenticate your Salesforce credentials.
- Create a mapping: Once you have set up a Salesforce connection, you can create a mapping that defines how data will be synced between Salesforce and your Heroku Postgres database. You can create a mapping by clicking the “Create Mapping” button in the Heroku Connect dashboard.
That’s it! Your Heroku Postgres database should now be connected to Salesforce through Heroku Connect.