Get inspired with sample apps, explore reference code, and learn best practices
Sample apps show what you can build on the Salesforce platform and are continuously updated to incorporate the latest features and best practices. These reference apps are not intended for production, but are a great way to learn.
Lightning Web Components
Sample retail application. This application helps E-Bikes, a fictitious electric bicycle manufacturer, manage their products and reseller orders using a rich User Experience. Explore this application, that also integrates with Salesfoce Communities, and learn how to build rich User Experiences with Lightning Web Components using different data access strategies.
Lightning Web ComponentsSalesforce CommunityLightning Data ServiceCompositionPub/SubDrag-and-drop
A collection of easy-to-digest code examples for Lightning Web Components on Salesforce Platform. Each recipe demonstrates how to code a specific task in about 30 lines of code or less. A View Source link takes you right to the code in GitHub. From Hello World to data access and third-party libraries, there is a recipe for that!
Lightning Web ComponentsLightning Data ServiceCompositionEventsPub/Sub@wireNavigation3rd Party Libraries
Sample car sales and service application. Pulsar is a fictitious electric car manufacturer company. This application helps Pulsar to sell cars on-site, and through their customer-facing website. Event-driven patterns allow to build loosely coupled integrations using multiple programming languages and systems. Regardless of the industry you work in, this app demonstrates how to build rich and immersive user experiences with the connected compute and runtime capabilities of the Salesforce Platform.
Lightning Web ComponentsHerokuKafkaMQTTChange Data CaptureProgressive Web App
A collection of easy-to-digest code examples demonstrating Apex best practices. Each Recipe demonstrates how to code a specific common task while adhering to best practices. The UI allows you to browse the code, associated tests, and documentation about the recipes all in a convenient, in-org browser. From how to query for data to securely handling third party JSON there's an Apex Recipe for that!
Sample real estate application. DreamHouse is a fictitious real estate company. This application helps DreamHouse brokers manage their properties and their customers. Brokers can also use the application on the Salesforce mobile app to help manage their property portfolio. Regardless of the industry you work in, this app demonstrates how to build rich and immersive user experiences with Lightning Components.
Lightning Web ComponentsLightning Data ServiceUtility BarMapSalesforce Mobile
A collection of interactive examples using AMP Email for Salesforce Marketing Cloud. Build rich experiences for email clients like GMail and Verizon, so that users never have to leave their inbox for interacting with you.
Sample insurance application. AZ Insurance is a fictitious insurance company. The core use case of this sample application is to showcase the patterns on how to implement the Build Your own (LWR) template in Experience Cloud.
A collection of easy-to-digest code examples for Lightning Web Components Open Source. Each recipe demonstrates how to code a specific task in about 30 lines of code or less. A View Source link takes you right to the code in GitHub. From Hello World to data access and third-party libraries, there is a recipe for that!
Lightning Web ComponentsNode.jsHerokucreate-lwc-appEvents@wire3rd Party Libraries
Sample event management application. Easy Spaces is a fictitious event management company. This application helps Easy Spaces event coordinators manage reservations and find the right theme for their customers. Regardless of the industry you work in, this app demonstrates how to build flexible, user-centric experiences with dynamic flows, Flow Actions, and object-agnostic Lightning components. This app also demonstrates how to structure your source code for modular distribution using unlocked packages.
A collection of code examples to help you replace Visualforce pages with Lightning Web Components. Each example shows a typical Visualforce pattern and its equivalent LWC implementation. Each example also links right to the Visualforce or LWC code in GitHub.
Lightning Web ComponentsVisualforceBase ComponentsLightning Data ServiceApex
Sample car insurance app. Redwoods Insurance is a fictitious car insurance company. This application, which consists of a Salesforce Lightning Console app and a mobile application for iOS, helps agents and customers with insurance claims. Customers use the mobile application to capture pictures and other details about accidents. The sample iOS application uses the new Mobile SDK to provide rich, native connections to a customer's device. Redwoods Insurance claims adjusters use the Salesforce console app to view multimedia files uploaded by customers and manage the claims process.
SwiftCocoa TouchMobile SDKClosuresLightning CommunitiesService Cloud Console AppsLightning Web ComponentsGeolocationSpeech-to-Text
Automation Components are a collection of reusable and production-ready extensions that include invocable actions, flow screen components and local actions. Add these easy-to-install, easy-to-use components to your automation toolkit to start building flows today.
FlowLightning Web ComponentsInvocable ActionsLocal Actions