{"id":2500,"date":"2026-11-02T09:00:00","date_gmt":"2026-11-02T03:30:00","guid":{"rendered":"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/"},"modified":"2026-11-15T22:00:29","modified_gmt":"2026-11-15T16:30:29","slug":"heroku-applink-salesforce","status":"publish","type":"post","link":"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/","title":{"rendered":"Heroku AppLink for Salesforce Developers Explained"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Heroku AppLink publishes a Heroku application into a Salesforce org so Apex, Flow and Agentforce can call it like any other action. The app can be written in any language, use any library, and run for as long as a dyno allows.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">That last point is the reason teams reach for it. Apex is excellent for business logic close to the data, and genuinely awkward for a PDF renderer, an image pipeline, a machine learning model or a calculation over a hundred thousand rows.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-diagram-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-diagram-1-1024x640.png\" alt=\"Heroku AppLink diagram showing the call path from Apex to a Heroku app and back\" class=\"wp-image-2498\" srcset=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-diagram-1-1024x640.png 1024w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-diagram-1-300x188.png 300w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-diagram-1-768x480.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Caption: The add-on manages the connection, so the Heroku app reads Salesforce without you writing an auth layer.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Is Heroku AppLink<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Heroku AppLink is an add-on plus a set of command line steps. Add it to an app, connect an org, and publish an OpenAPI description of your endpoints.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>heroku create\nheroku addons:create heroku-applink --wait\nheroku buildpacks:add --index=1 heroku\/heroku-applink-service-mesh\nheroku buildpacks:add heroku\/nodejs\ngit push heroku main\nheroku salesforce:connect my-org\nheroku salesforce:publish api-docs.yaml \\\n  --client-name GenerateQuote \\\n  --connection-name my-org \\\n  --authorization-connected-app-name GenerateQuoteConnectedApp \\\n  --authorization-permission-set-name GenerateQuotePermissions<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">The publish step is where the work happens. Salesforce receives the OpenAPI schema and creates the pieces it needs on its side, including an external service and the permission set that controls who may call it.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Command<\/th><th>What it does<\/th><\/tr><\/thead><tbody><tr><td>addons:create heroku-applink<\/td><td>Adds the add-on to the Heroku app<\/td><\/tr><tr><td>salesforce:connect<\/td><td>Connects an org for publishing<\/td><\/tr><tr><td>salesforce:authorizations:add<\/td><td>Connects a named user for data access<\/td><\/tr><tr><td>salesforce:publish<\/td><td>Publishes the OpenAPI schema as an action<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">The OpenAPI Schema Is the Contract<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Heroku AppLink reads an OpenAPI file that describes your endpoints, and that file is what Salesforce reads. A missing description or a loose type produces an action that is hard to use in Flow, so the schema is worth writing carefully.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>paths:\n  \/quote:\n    post:\n      operationId: generateQuote\n      summary: Generate a course fee quote\n      requestBody:\n        content:\n          application\/json:\n            schema:\n              type: object\n              properties:\n                courseId:\n                  type: string<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Calling It from Apex<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once published through Heroku AppLink, the service appears as a generated Apex class.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>GenerateQuote.generateQuote_Request req = new GenerateQuote.generateQuote_Request();\nreq.body = new GenerateQuote.QuoteInput();\nreq.body.courseId = courseId;\n\nGenerateQuote service = new GenerateQuote();\nGenerateQuote.generateQuote_Response res = service.generateQuote(req);<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Heroku AppLink also supports an asynchronous style with a callback, defined in the OpenAPI file. That is the route for work that would outlast an Apex transaction, and it means the Heroku app finishes in its own time and calls Salesforce back.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Style<\/th><th>When to use it<\/th><\/tr><\/thead><tbody><tr><td>Synchronous<\/td><td>A quick answer a user is waiting for<\/td><\/tr><tr><td>Asynchronous with a callback<\/td><td>Long work that writes results back later<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Why Heroku AppLink Matters<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Benefit<\/th><th>What it gives you<\/th><\/tr><\/thead><tbody><tr><td>Any language<\/td><td>Python, Node, Java, Go, whatever fits the job<\/td><\/tr><tr><td>Real libraries<\/td><td>Image, PDF, machine learning and numeric libraries<\/td><\/tr><tr><td>Managed authentication<\/td><td>No named credential or token handling to build<\/td><\/tr><tr><td>Discoverable actions<\/td><td>The endpoint shows up in Flow and Agentforce<\/td><\/tr><tr><td>Permission control<\/td><td>A permission set decides who may call it<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The discoverability row is what admins notice. A published endpoint becomes a Flow element, so automation built by an admin can call code a developer wrote, with no extra wiring. The post on <a href=\"https:\/\/swapnilzambare.com\/blog\/named-credentials-in-apex-callouts\/\">named credentials<\/a> covers what you would otherwise have to build yourself.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Security Modes<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Heroku AppLink runs a call in one of a few contexts, and the choice decides what the Heroku app can see.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Mode<\/th><th>Whose permissions apply<\/th><\/tr><\/thead><tbody><tr><td>User mode<\/td><td>The logged in Salesforce user, with their sharing and field access<\/td><\/tr><tr><td>Named user<\/td><td>A fixed user you connected, for system processes<\/td><\/tr><tr><td>Expanded access<\/td><td>An admin approved permission set, used deliberately<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">User mode is the right default. The Heroku app sees exactly what the caller sees, so a support agent cannot read a record through your service that they could not open in the interface.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Named user mode suits scheduled work, where there is no logged in person and the permissions must be stable. Keep that user narrow, and treat it like any other integration user. The post on <a href=\"https:\/\/swapnilzambare.com\/blog\/profiles-and-permission-sets-salesforce\/\">permission sets<\/a> covers building a tight one.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Heroku AppLink vs a Plain Apex Callout<\/h2>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-diagram-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-diagram-2-1024x640.png\" alt=\"Heroku AppLink and Apex callout comparison diagram\" class=\"wp-image-2499\" srcset=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-diagram-2-1024x640.png 1024w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-diagram-2-300x188.png 300w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-diagram-2-768x480.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Caption: The difference is ownership, since AppLink is for code your own team hosts.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Need<\/th><th>Pick<\/th><\/tr><\/thead><tbody><tr><td>A PDF or image pipeline<\/td><td>Heroku AppLink<\/td><\/tr><tr><td>A machine learning model you trained<\/td><td>Heroku AppLink<\/td><\/tr><tr><td>A calculation over 100,000 rows<\/td><td>Heroku AppLink<\/td><\/tr><tr><td>A third party payment API<\/td><td>Apex callout with a named credential<\/td><\/tr><tr><td>A small lookup against a partner service<\/td><td>Apex callout<\/td><\/tr><tr><td>An Agentforce action needing real compute<\/td><td>Heroku AppLink<\/td><\/tr><tr><td>Work that must stay inside the platform<\/td><td>Apex, batch or queueable<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The honest line is that Heroku AppLink is not a replacement for Apex. It is where you put the work Apex is a poor fit for, and it keeps that work callable from the same tools your admins already use.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A Real Heroku AppLink Example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Heroku AppLink took over a job Apex handled badly. Bright Path Tutors produces a branded certificate PDF for every completed course, with a photo, a signature image and a QR code. The first version used an Apex class and a Visualforce PDF page.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Problem<\/th><th>What happened<\/th><\/tr><\/thead><tbody><tr><td>Heap limits on image data<\/td><td>Certificates failed above a certain size<\/td><\/tr><tr><td>No font control<\/td><td>The branding team was unhappy<\/td><\/tr><tr><td>No QR support<\/td><td>A separate manual step<\/td><\/tr><tr><td>150 certificates in a batch<\/td><td>Timeouts on the Visualforce render<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">We moved the rendering to a small Node service on Heroku and published it.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Measure<\/th><th>Visualforce PDF<\/th><th>Heroku AppLink<\/th><\/tr><\/thead><tbody><tr><td>Certificates per run before failure<\/td><td>About 40<\/td><td>2,000<\/td><\/tr><tr><td>Average time for 150<\/td><td>150 seconds<\/td><td>24 seconds<\/td><\/tr><tr><td>Font and layout control<\/td><td>Limited<\/td><td>Full<\/td><\/tr><tr><td>Who can trigger it<\/td><td>A developer, in Apex<\/td><td>An admin, from Flow<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That final row changed the process more than the speed did. The operations team now runs the batch from a Flow with a button, and nobody waits for a developer.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Limits and Things to Watch<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>You are running a Heroku app, so dyno sizing, scaling and cost are yours to manage<\/li>\n\n<li>The OpenAPI schema is the contract, and a sloppy schema produces a poor Flow action<\/li>\n\n<li>Synchronous calls still live inside the calling Apex transaction, so keep them quick<\/li>\n\n<li>Long work needs the asynchronous callback pattern, which is more to build and test<\/li>\n\n<li>The Heroku app is another deployable, so it needs its own pipeline and monitoring<\/li>\n\n<li>Expanded access is powerful, so it deserves a review before anyone turns it on<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The extra deployable is the Heroku AppLink point teams underestimate. A Heroku service brings its own release process, logs and alerts. If your team is not ready to own a service, a queueable inside Salesforce may be the better answer. The post on <a href=\"https:\/\/swapnilzambare.com\/blog\/queueable-apex-chaining-finalizers\/\">queueable jobs<\/a> covers that route.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common Mistakes with Heroku AppLink<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Mistake<\/th><th>What you see<\/th><th>Fix<\/th><\/tr><\/thead><tbody><tr><td>A thin OpenAPI schema<\/td><td>An action nobody can use in Flow<\/td><td>Add summaries, types and operation ids<\/td><\/tr><tr><td>Using salesforce:connect for data access<\/td><td>The wrong connection type<\/td><td>Use authorizations:add for named user data access<\/td><\/tr><tr><td>Long work called synchronously<\/td><td>Apex transaction timeouts<\/td><td>Use the asynchronous callback pattern<\/td><\/tr><tr><td>Expanded access by default<\/td><td>More data exposed than intended<\/td><td>Start in user mode<\/td><\/tr><tr><td>No monitoring on the Heroku app<\/td><td>Silent failures outside Salesforce<\/td><td>Add logs and alerts on the dyno<\/td><\/tr><tr><td>The service mesh buildpack missing<\/td><td>Requests rejected<\/td><td>Add it at the first buildpack index<\/td><\/tr><tr><td>Treating it as free compute<\/td><td>A surprise bill<\/td><td>Size and scale the dynos deliberately<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Best Practices for Heroku AppLink<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Write the OpenAPI schema as carefully as you would write a public API<\/li>\n\n<li>Start every integration in user mode and widen only with a reason<\/li>\n\n<li>Keep synchronous endpoints fast and move anything slow to a callback<\/li>\n\n<li>Give the Heroku app its own pipeline, logs and alerts<\/li>\n\n<li>Name the client and permission set after the business action, not the technology<\/li>\n\n<li>Version the schema so a change does not break an existing Flow<\/li>\n\n<li>Keep a short document naming who owns the Heroku app<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Most Asked Heroku AppLink Interview Questions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q1: What does Heroku AppLink do?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It publishes a Heroku app into a Salesforce org so Apex, Flow and Agentforce can call it as an action.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q2: How is it added to a Heroku app?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">As an add-on, with a command line step, plus a service mesh buildpack.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q3: What does the publish command take?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An OpenAPI schema describing your endpoints, plus names for the client and permission set.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q4: What gets created on the Salesforce side?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The pieces Salesforce needs to call the service, including an external service and a permission set.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q5: How do you call it from Apex?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Through a generated Apex class that mirrors your published operations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q6: Can Flow call it?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. A published operation appears as a Flow element.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q7: Can Agentforce call it?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, which is one of the main reasons teams adopt it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q8: What are the two invocation styles?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Synchronous for a quick answer, and asynchronous with a callback for long work.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q9: Why would you choose the asynchronous style?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because the work would outlast an Apex transaction, so the app calls Salesforce back when it finishes.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q10: What is user mode?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The call runs with the logged in user&#8217;s permissions, sharing and field access.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q11: When is a named user the right choice?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For system processes and scheduled work, where no user is logged in.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q12: What is expanded access for?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Deliberate cases needing more than the caller has, approved through a permission set.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q13: Which mode should you start with?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">User mode, since it matches what the caller could already see.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q14: What is the difference between salesforce:connect and authorizations:add?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Connect is used for publishing the app to an org, and authorizations:add connects a named user for data access.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q15: Does it remove Apex governor limits?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The work on Heroku is not bound by Apex limits, though a synchronous call still sits inside the calling transaction.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q16: What language can the Heroku app use?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Any language Heroku supports, which is the point of the pattern.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q17: What kind of work suits it best?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">PDF and image generation, machine learning, and heavy numeric work over large data sets.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q18: What work does not suit it?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Logic that belongs close to the data, and anything a third party already exposes as an API.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q19: Why is the OpenAPI schema so important?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is the contract Salesforce reads, so a thin schema produces a poor action for admins.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q20: Can one Heroku app serve several orgs?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. An app can be published into more than one org.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q21: Who owns the running cost?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You do, since the dynos are yours to size and scale.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q22: Scenario: a Flow action shows unnamed inputs. What went wrong?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The OpenAPI schema lacks summaries and clear types for the request body.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q23: Scenario: a long render times out when called from Apex. What is the fix?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Move it to the asynchronous callback pattern so the app finishes in its own time.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q24: Scenario: the Heroku app can read records a support agent cannot. Why?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is running in a named user or expanded context rather than user mode.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q25: Scenario: requests are rejected straight away after a deploy. What is missing?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The service mesh buildpack, or it is not at the first index.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q26: How does this compare with an Apex callout to your own service?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">AppLink manages the connection and makes the endpoint discoverable, where a callout needs a named credential and leaves it invisible to admins.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q27: Does it replace Heroku Connect?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">No. Heroku Connect synchronises data to Postgres, while AppLink exposes app logic as actions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q28: What should a team check before adopting it?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Whether they are ready to own a deployed service, with its own pipeline, logs and alerts.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q29: What is the habit that keeps it manageable?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A well written versioned schema, user mode by default, and monitoring on the Heroku side.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Official Resources<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/devcenter.heroku.com\/articles\/heroku-applink\" target=\"_blank\" rel=\"noopener noreferrer\">Heroku AppLink Documentation<\/a><\/li>\n\n<li><a href=\"https:\/\/developer.salesforce.com\/docs\/atlas.en-us.apexcode.meta\/apexcode\/\" target=\"_blank\" rel=\"noopener noreferrer\">Apex Developer Guide<\/a><\/li>\n\n<li><a href=\"https:\/\/trailhead.salesforce.com\/content\/learn\/modules\/heroku-applink-integrations\" target=\"_blank\" rel=\"noopener noreferrer\">Heroku AppLink Integrations on Trailhead<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What Is Next<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Next, read <a href=\"https:\/\/swapnilzambare.com\/blog\/apex-stub-api-mocking\/\">Apex Stub API for Mocking in Unit Tests Explained<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Heroku AppLink publishes a Heroku application into a Salesforce org so Apex, Flow and Agentforce can call it like any other action. The app&hellip;<\/p>\n","protected":false},"author":1,"featured_media":2497,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_swapz_level":"","_swapz_series_part":0,"_swapz_hide_toc":false,"_swapz_hide_featured":false,"_swapz_description":"","footnotes":""},"categories":[246,8,96],"tags":[68,81],"swapz_series":[],"class_list":["post-2500","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-integration-apis","category-salesforce","category-salesforce-developer","tag-advanced","tag-integration"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Heroku AppLink for Salesforce Developers Guide<\/title>\n<meta name=\"description\" content=\"Heroku AppLink publishes a Heroku app as an action Apex, Flow and Agentforce can call. Learn the setup commands, the security modes and the real limits.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Heroku AppLink for Salesforce Developers Guide\" \/>\n<meta property=\"og:description\" content=\"Heroku AppLink publishes a Heroku app as an action Apex, Flow and Agentforce can call. Learn the setup commands, the security modes and the real limits.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/\" \/>\n<meta property=\"og:site_name\" content=\"Swapnil Zambare - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-02T03:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-15T16:30:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-featured.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Swapnil Zambare\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Swapnil Zambare\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"9 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/heroku-applink-salesforce\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/heroku-applink-salesforce\\\/\"},\"author\":{\"name\":\"Swapnil Zambare\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/person\\\/10b09224c8bcc562716e86789427592a\"},\"headline\":\"Heroku AppLink for Salesforce Developers Explained\",\"datePublished\":\"2026-11-02T03:30:00+00:00\",\"dateModified\":\"2026-11-15T16:30:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/heroku-applink-salesforce\\\/\"},\"wordCount\":1899,\"publisher\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/heroku-applink-salesforce\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/heroku-applink-salesforce-featured.png\",\"keywords\":[\"Advanced\",\"Integration\"],\"articleSection\":[\"Integration and APIs\",\"Salesforce\",\"Salesforce Developer\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/heroku-applink-salesforce\\\/\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/heroku-applink-salesforce\\\/\",\"name\":\"Heroku AppLink for Salesforce Developers Guide\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/heroku-applink-salesforce\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/heroku-applink-salesforce\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/heroku-applink-salesforce-featured.png\",\"datePublished\":\"2026-11-02T03:30:00+00:00\",\"dateModified\":\"2026-11-15T16:30:29+00:00\",\"description\":\"Heroku AppLink publishes a Heroku app as an action Apex, Flow and Agentforce can call. Learn the setup commands, the security modes and the real limits.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/heroku-applink-salesforce\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/heroku-applink-salesforce\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/heroku-applink-salesforce\\\/#primaryimage\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/heroku-applink-salesforce-featured.png\",\"contentUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/heroku-applink-salesforce-featured.png\",\"width\":2400,\"height\":1260,\"caption\":\"Heroku AppLink featured image showing a Heroku app published as a Salesforce action\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/heroku-applink-salesforce\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Heroku AppLink for Salesforce Developers Explained\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\",\"name\":\"Swapnil Zambare - Blog\",\"description\":\"Salesforce &amp; Tech Guides\",\"publisher\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\",\"name\":\"Swapnil Zambare - Blog\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/site-icon-512.png\",\"contentUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/site-icon-512.png\",\"width\":512,\"height\":512,\"caption\":\"Swapnil Zambare - Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/theSwapnilZambare\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/person\\\/10b09224c8bcc562716e86789427592a\",\"name\":\"Swapnil Zambare\",\"sameAs\":[\"https:\\\/\\\/swapnilzambare.com\\\/blog\"],\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/author\\\/swapnil-zambare\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Heroku AppLink for Salesforce Developers Guide","description":"Heroku AppLink publishes a Heroku app as an action Apex, Flow and Agentforce can call. Learn the setup commands, the security modes and the real limits.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/","og_locale":"en_US","og_type":"article","og_title":"Heroku AppLink for Salesforce Developers Guide","og_description":"Heroku AppLink publishes a Heroku app as an action Apex, Flow and Agentforce can call. Learn the setup commands, the security modes and the real limits.","og_url":"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/","og_site_name":"Swapnil Zambare - Blog","article_published_time":"2026-11-02T03:30:00+00:00","article_modified_time":"2026-11-15T16:30:29+00:00","og_image":[{"width":2400,"height":1260,"url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-featured.png","type":"image\/png"}],"author":"Swapnil Zambare","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Swapnil Zambare","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/#article","isPartOf":{"@id":"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/"},"author":{"name":"Swapnil Zambare","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/person\/10b09224c8bcc562716e86789427592a"},"headline":"Heroku AppLink for Salesforce Developers Explained","datePublished":"2026-11-02T03:30:00+00:00","dateModified":"2026-11-15T16:30:29+00:00","mainEntityOfPage":{"@id":"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/"},"wordCount":1899,"publisher":{"@id":"https:\/\/swapnilzambare.com\/blog\/#organization"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/#primaryimage"},"thumbnailUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-featured.png","keywords":["Advanced","Integration"],"articleSection":["Integration and APIs","Salesforce","Salesforce Developer"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/","url":"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/","name":"Heroku AppLink for Salesforce Developers Guide","isPartOf":{"@id":"https:\/\/swapnilzambare.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/#primaryimage"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/#primaryimage"},"thumbnailUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-featured.png","datePublished":"2026-11-02T03:30:00+00:00","dateModified":"2026-11-15T16:30:29+00:00","description":"Heroku AppLink publishes a Heroku app as an action Apex, Flow and Agentforce can call. Learn the setup commands, the security modes and the real limits.","breadcrumb":{"@id":"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/#primaryimage","url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-featured.png","contentUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/heroku-applink-salesforce-featured.png","width":2400,"height":1260,"caption":"Heroku AppLink featured image showing a Heroku app published as a Salesforce action"},{"@type":"BreadcrumbList","@id":"https:\/\/swapnilzambare.com\/blog\/heroku-applink-salesforce\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/swapnilzambare.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Heroku AppLink for Salesforce Developers Explained"}]},{"@type":"WebSite","@id":"https:\/\/swapnilzambare.com\/blog\/#website","url":"https:\/\/swapnilzambare.com\/blog\/","name":"Swapnil Zambare - Blog","description":"Salesforce &amp; Tech Guides","publisher":{"@id":"https:\/\/swapnilzambare.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/swapnilzambare.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/swapnilzambare.com\/blog\/#organization","name":"Swapnil Zambare - Blog","url":"https:\/\/swapnilzambare.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/09\/site-icon-512.png","contentUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/09\/site-icon-512.png","width":512,"height":512,"caption":"Swapnil Zambare - Blog"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/in\/theSwapnilZambare"]},{"@type":"Person","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/person\/10b09224c8bcc562716e86789427592a","name":"Swapnil Zambare","sameAs":["https:\/\/swapnilzambare.com\/blog"],"url":"https:\/\/swapnilzambare.com\/blog\/author\/swapnil-zambare\/"}]}},"_links":{"self":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/2500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/comments?post=2500"}],"version-history":[{"count":2,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/2500\/revisions"}],"predecessor-version":[{"id":3402,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/2500\/revisions\/3402"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/media\/2497"}],"wp:attachment":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/media?parent=2500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/categories?post=2500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/tags?post=2500"},{"taxonomy":"swapz_series","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/swapz_series?post=2500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}