Step-by-Step Guide to Building React External App in Salesforce
Picture your support inbox on a Monday morning. Half the emails say some version of "Any update on my case?" The customer can't see what you can see, so they ask. Your agents stop what they're doing to answer. Repeat until Friday.
A self-service portal fixes that. Customers log in, check their cases, raise new ones, and add comments without waiting on anyone. Salesforce has offered this through Experience Cloud for years. What's new is how you can build it: in React, running natively on Salesforce.
In the #Step-by-Step Guide to Building React Internal App in Salesforce, you built a React app for employees. This guide is its customer-facing sibling. You'll create a React External App, run it locally, deploy it, and then use Claude Design and Claude Code to add a complete case portal: list cases, create a case, view details, post comments, and edit. No LWC, and no hand-written Apex.
The full step-by-step walkthrough is embedded further down.
Internal App vs External App
Both are built on Salesforce Multi-Framework, the runtime that lets you run React code natively on the platform. Multi-Framework became generally available on July 16, 2026, and Salesforce now supports it for production workloads.
The difference is who the app is for.
Audience: Internal App: Employees. External App: Customers, partners, or the public.
Template: Internal App: reactinternalapp. External App: reactexternalapp.
How users sign in: Internal App: Salesforce credentials (SSO supported). External App: Experience Cloud guest access or authenticated login.
Metadata deployed: Internal App: UIBundle + CustomApplication. External App: UIBundle + Experience Cloud metadata (DigitalExperience, DigitalExperienceConfig, Network, CustomSite).
Two terms worth knowing before you start:
UIBundle is the new metadata type that holds your React app: its source, configuration, and routing rules. You'll see it in your project as a uiBundles folder under force-app. Because it's metadata, it deploys and versions like anything else in your Salesforce DX project.
Experience Cloud is Salesforce's platform for sites that people outside your company use, such as customer portals, partner portals, and help centers. A React External App is delivered through it.
The part that doesn't change: your app still reads and writes data through GraphQL, Apex, and UI APIs, and authentication is handled by the Salesforce SDK. You don't manage tokens in your React code.
Why This Is Worth Your Time
Your portal can look like your product. Experience Builder templates only go so far. With React, the portal can match your brand's design system down to the pixel.
Your frontend team can contribute. A React developer who has never touched Salesforce can work on this app with npm, Vite, and the tools they already use.
Security comes with it. The app runs on the platform, so Experience Cloud authentication, sharing rules, and permissions still decide what each user can see.
AI shortens the build. In this guide, a single prompt to Claude Code turns a design file into a working case portal. You review, deploy, and test. The heavy lifting is done for you.
Step-by-Step Guide: What You'll Build
The embedded guide walks you through the complete flow:
Prerequisites. Set up VS Code or Cursor, update the Salesforce CLI, and install the ui-bundle plugin.
Create the React External App project from the command palette, install dependencies, and run it locally on localhost:5173 to explore the sample app Salesforce provides.
Deploy the app to your org and open it from the App Launcher.
Design the UI with Claude Design. Generate a professional case portal design from a single prompt and export it as standalone HTML. (No Claude Design subscription? Use the design file provided in the Academy.)
Build the case functionality with Claude Code, using the design file and the sample app as context, then deploy it to your org.
Test the portal. Create a case, open it, post a comment, and edit it.
Follow along with the walkthrough below. Every step has screenshots, so you can build it in your own org as you go.
This guide is a lesson in our Mastering AIforce course. All Access Pass members can download the PDF from the lesson.
Summary & Key Takeaways
A React External App is a React app for customers, partners, or the public, delivered through Experience Cloud and running natively on Salesforce.
It's built on Salesforce Multi-Framework, which is now generally available.
The code lives in the new UIBundle metadata type and deploys like any other Salesforce metadata.
Claude Design and Claude Code can take you from an idea to a working case portal with very little hand-written code.
References & Useful URLs
Salesforce Developers Blog - Build with React on Salesforce: Multi-Framework Is Now GA
Documentation - Salesforce Multi-Framework
Salesforce Help - Enable Digital Experiences
Academy prerequisite guides: