Heroku for Salesforce teams

Heroku is Salesforce's cloud app platform. This guide explains when to run code there instead of in your org and how the two connect.

Type
Product guide
Topic
Platform and security
Reading time
4 min
Updated
Author
GeekMidst Team
Reviewed by
Site owner
Banner for the GeekMidst product guide “Heroku for Salesforce teams”, covering What it is for and Core capabilities

Heroku is the cloud application platform Salesforce owns and markets as "Heroku from Salesforce". You deploy code in common languages, and Heroku runs it on managed infrastructure, so your team doesn't patch servers. For Salesforce customers, the question is usually not whether Heroku is good. It is whether a workload belongs on Heroku or inside the Salesforce org.

What it is for

Heroku suits workloads that need things the core platform is not designed for. Examples include:

  • long-running or compute-heavy processing
  • customer-facing web apps with their own front end
  • APIs that third parties call at high volume
  • services written in languages other than Apex
  • data stores that sit next to, rather than inside, your CRM

Core capabilities

CapabilityWhat it doesWhy it matters for Salesforce teams
DynosContainers that run your web and worker processesScale an app without touching org limits
Heroku PostgresManaged PostgreSQL databaseA place for high-volume or app-specific data
Key-Value StoreManaged key-value data storeCaching and queues for busy apps
Managed Inference and AgentsHosted AI models and agentsRun AI workloads beside your app code
MCP server hostingHost Model Context Protocol serversExpose tools to AI agents
pgvectorVector search in PostgresSimilarity search for AI features
AppLinkIntegration between Heroku apps and SalesforceCall Heroku services from your org
Private Spaces and Heroku ShieldNetwork isolation and extra compliance controlsNeeded for many regulated workloads

How it connects

AppLink is the documented route for connecting Heroku apps to Salesforce. It lets the org call services running on Heroku. Apps can also use standard Salesforce APIs, and many teams publish events from Salesforce for Heroku workers to process (see Platform Events for decoupled integrations). If you have many systems to connect, an integration layer such as MuleSoft may serve you better than point-to-point links.

Who it suits

Heroku suits teams with developers who are comfortable with Git-based deployment and a general-purpose language. It also suits companies that build customer-facing apps on top of CRM data, and anyone whose processing keeps hitting governor limits. If your needs are mostly forms, automation and reports, the Salesforce Platform on its own is usually simpler.

Planning an implementation

  1. 01

    Decide what moves

    Write down why each workload cannot run in the org: limits, language, latency or user experience.

  2. 02

    Choose the data home

    Decide which system owns each record, and avoid copying data both ways without a reason.

  3. 03

    Design authentication

    Use named, least-privilege integration users and keep secrets out of code.

  4. 04

    Plan isolation needs

    Check whether Private Spaces or Heroku Shield is needed for your compliance requirements.

  5. 05

    Set up monitoring

    Agree who watches logs, errors and costs once the app is live.

Common mistakes

  • Moving logic to Heroku to dodge a limit that better design in the org would have fixed.
  • Running integrations as a full-access admin user.
  • Building a second customer database with no agreement on which copy is correct.
  • Leaving error handling and retries until after launch. Our API error handling guide covers patterns.

How GeekMidst can help

We can help you decide whether a workload belongs on Heroku, then design the integration with your org. Our web and application development team builds the app side, and our Salesforce integration services cover authentication, data flow and error handling. We follow the practices in securing Salesforce API integrations from the start.

Questions we hear

Is Heroku part of Salesforce?
Yes. Salesforce markets it as Heroku from Salesforce, and it appears on the salesforce.com products page.
Do we need Heroku to build custom apps?
No. Many apps run entirely on the Salesforce Platform. Heroku helps when you need other languages, heavy processing or a separate front end.
Can Agentforce use services on Heroku?
Heroku supports MCP server hosting and AppLink, which are routes for exposing services to Salesforce and AI agents. Confirm the details for your use case in Heroku's documentation.
How much does Heroku cost?
Pricing depends on the resources you use and changes over time. Check Heroku's pricing page.

Not sure where a workload should run?

We can review your requirements and recommend Heroku, the core platform or an integration layer.

Talk to us →

Tell us what you are trying to fix.

Share your Salesforce setup, goals and constraints. A practitioner reads every message and replies with questions, first thoughts or an honest view of whether you need outside help at all.

Talk to a Salesforce Expert
Book a Consultation