HerokuKen W. AlgerTutorial
AppLink Fundamentals I: AppLink Integration Patterns – Connecting Salesforce to Heroku Applications
Summary
AppLink Fundamentals I describes four integration patterns for connecting Salesforce orgs with Heroku applications, focusing on API access and Salesforce extension. Pattern 1 uses run-as-user authentication for automated or customer-facing applications, with the AppLink add-on, CLI plugin, optional SDK, named authorizations, and SOQL queries through the Data API; the SDK manages authentication, session management, and connection pooling for single- or multi-org access. Pattern 2 lets Salesforce users invoke published Heroku services through Flow, Apex, or Agentforce, using User Mode or elevated “user mode plus” permissions controlled by Permission Sets, an OpenAPI description, and a service-mesh buildpack that blocks external access. The post also positions batch processing and real-time eventing as extensions of these patterns, and describes Data Cloud querying and Data Action Targets for applications to receive Data Cloud events.
Context
The post says understanding AppLink’s integration patterns is key to leveraging it effectively because the patterns dictate how Heroku applications interact with and enhance Salesforce orgs.
Approach / What changed
It presents deployment commands, Node.js and Java integration details, authentication modes, required AppLink components, OpenAPI-based service publishing, and extensions for batch jobs, real-time eventing, and Data Cloud actions.
Takeaways
Pattern 1 uses run-as-user authorizations and supports Salesforce API access across multiple orgs, including SOQL queries through the Data API.
Pattern 2 publishes Heroku services for invocation from Flow, Apex, or Agentforce and uses User Mode or Permission Set-controlled user mode plus permissions.
Pattern 3 extends Salesforce processing with Heroku Workers, while Pattern 4 uses run-as-user authentication for Platform Events and Change Data Capture.
Source and freshness
- Source
- heroku.com
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.