This is the product level view: the major building blocks, what each one is responsible for, and how they combine to deliver the product's capabilities. For how custom code calls Apex and the runtime context it can read, see Technical architecture and request flow.
3B Portals is a managed Salesforce package (namespace b3p, "3B Portals & Mobile Apps") that lets an organisation build branded, installable web portals and mobile apps directly on top of its Salesforce data, without hand coding a front end for every page. An admin designs pages visually, binds them to Salesforce records, publishes them to a Salesforce Site or Experience Cloud site, and end users open them in a browser or install them to a phone home screen as a Progressive Web App.
The product is five cooperating pieces. Three of them are user facing surfaces, one is the reusable component library they share, and one is the Salesforce backend that stores and serves everything.
| Building block | What it is | Responsibility |
|---|---|---|
| The builder | A visual, drag and drop page editor delivered to admins | Design pages, bind data, drop in components, publish |
| The runtime | A single page web app plus a service worker | Render published pages to end users, handle login, navigation, offline, and push |
| The component library | A set of standard interactive components | Charts, forms, iframes, screen flows, login and custom component hosting, shared by builder and runtime |
| The backend | Salesforce Apex classes and custom objects | Authentication, data access, page storage, push, configuration |
| The styling system | Tailwind CSS and the 3B design system, compiled to a static resource | Consistent utility and component styling, live in the builder and on the live portal |
See Technical architecture and request flow for the packaged apps and how components call Apex.
The product has two distinct phases, design time and runtime, and one artifact that connects them: the saved page.
Page__c record and clicks Builder. The builder loads that page's editable model into a live canvas.A page's content is not stored in a database field. Each saved page produces two compressed files attached to the Page record: an editable model the builder reloads, and a compiled bundle the runtime serves. This is why publishing is instant and why the runtime never needs the builder. See Web portals and pages.
| Capability | Delivered by |
|---|---|
| Visual page design, no front end code | The builder + the styling system |
| Data binding from any Salesforce object | Merge tags (runtime) + the backend data loaders |
| Static and record driven pages, reusable fragments | Page model + sub templates. See Static and dynamic pages |
| Charts, forms, screen flows, iframes, login | The component library. See Standard components |
| Bring your own components with no package change | Org defined blocks from custom metadata. See Custom components |
| Passwordless and magic link access | The backend auth layer. See Magic links and session keys |
| Installable mobile app, offline, push | The runtime service worker + Firebase push. See PWA and Push notifications |
| Custom fonts and branding | The styling system + the fonts picker. See Custom fonts and Styling and branding |
Everything lives in Salesforce. The core records are the portal container, its pages, the portal user (a Contact, not a Salesforce User), an activity and push registration log, and sent push messages. Page content is stored as attached files. Configuration is a hierarchy custom setting; block definitions and service credentials are custom metadata. The full schema is in the Object model and data dictionary.
Each is optional to the core page building and rendering flow, and each is configured through Salesforce, not code. See Configuration reference.
Portal users authenticate with a session key rather than a Salesforce login. With Secure Session Keys enabled in 12.5, tokens are signed with an org-specific key, always expire and are revoked on logout. Keep the guest profile bare, restrict the builder to admins and scope every component to the signed-in Contact. See the Security hardening checklist.