Video tutorials
/
Salesforce Experience Cloud Tutorial: Build a Connected Portal Page
Experience Sites

Salesforce Experience Cloud Tutorial: Build a Connected Portal Page

Build a connected Experience Cloud portal page with Avonni, manually and with Claude Code.

Beginner
8:22
Tutorial
Salesforce Experience Cloud Tutorial: Build a Connected Portal Page
Play video
Chapters
0:00 Choose an installer 0:15 Where Avonni fits 0:58 Open your site 1:38 Add your first AX component 2:12 Load your Salesforce records 3:07 Connect the map 4:08 Show the selected installer's details 4:31 Try the page 4:53 Build the same page with AI 5:53 Check what AI built 6:26 Give your members access 6:55 When to use the standard 7:31 Three ideas to reuse 8:03 Next step
Click a chapter to jump to it
Watch on YouTube

What you will build

Build a connected customer portal page in Salesforce Experience Cloud with Avonni Experience Components. Follow the setup in Experience Builder, then build the same page with Claude Code and the Avonni Agent Skill.

Your customer chooses an installer in a table and sees that installer's projects on a map, together with their name and phone number.

  • Three connected components: AX Data Table, AX Map, and AX Text Block.
  • Salesforce records loaded through Query data sources.
  • A clear explanation of API Name and selectedRecord.
  • The same selection test on the manual and AI versions.
  • An honest comparison with standard Salesforce lists, reactive screen flows and custom Lightning components.

Transcript

0:00 Choose an installer

Choose an installer, and see where they've worked. Pick another one, and the map shows that installer's projects instead. I'm Cédric. In this quick start, we'll build this Experience Cloud page step by step, then build the same thing with AI.

0:15 Where Avonni fits

Salesforce Experience Builder gives you the pages, navigation and layout of your customer portal. Avonni Experience Components adds ready-made pieces you can put on those pages: tables, maps, calendars, and more. You configure them right here, in Experience Builder's property panel. You choose which Salesforce records to show, how to present them, and how the components connect. Your customer uses the result on the portal page. Our example is SolarOps. A customer wants to find an installer and see their recent installations. We'll use three Avonni components: a table to choose the installer, a map to show the installations, and a text block for the name and phone

0:58 Open your site

number. Before you start, install the Avonni Experience Components package, enable Lightning Web Security so the components can run, and have a site with some records to display. The links are in the description. In Setup, open Digital Experiences, then All Sites, and click Builder next to your site. Open Home and prepare a section with two columns: the installer table on the left, and the map on the right. Our installers are Account records. For this example, each Contact represents a fictional installation, with a location. This is sample data for learning the setup.

1:38 Add your first AX component

Open Components and search for AX. These are the components from the Experience package. Drag AX Data Table into the left column. Give it the API Name installers. Think of this as the table's name on the page. The map will use that name to find out which row the customer selected. Set Max Row Selection to one. We want to look at one installer's projects at a time. Set the Header Title to Certified installers, so customers know what this list shows.

2:12 Load your Salesforce records

Under Data Source, choose Query. A query tells the component which Salesforce records to load. You don't have to write the query yourself. Choose Account. Add two filters: Account Type equals Installation Partner, and Billing State equals CO. That gives us the installers in Colorado. In this demo, Installation Partner isn't in the Type dropdown, so choose Custom and enter that value. Add Account Phone under Additional fields. We won't show the phone in the table, but the text block will need it later. Under Data Mappings, add Account Name, Billing City and Account Description as columns. Give them the labels Installer, City and Specialty. The table now has the information a customer needs to compare the partners.

3:07 Connect the map

Drag AX Map into the right column. Keep the Google Maps type used in this guide. Choose Query again, but this time choose Contact. Those are the installation records in our example. We only want the installations belonging to the selected installer. Add a filter on Account ID, and enter this expression. Installers is the table's API Name. Selected Record means the row the customer picked. And Id is the account's identifier. Together, this says: load the Contacts for the installer selected in that table. Under Data Mappings, use the Contact's Title for the marker title. Map the location to Mailing Latitude and Mailing Longitude. Now the component knows where to put each installation. Hide the map's list view to keep the focus on the locations, and set Zoom Level to twelve so the nearby installations are easier to see.

4:08 Show the selected installer's details

Add AX Text Block above the map. Write Recent installations, then add the selected installer's name and phone number using the same pattern. This time, the last part is Name or Phone. That's why we loaded Phone as an additional field. The text block can read it even though it isn't a visible table column.

4:31 Try the page

Click Preview and choose Flatirons Sun Company. Check the name, the phone number, and the installations around Boulder. Now choose Pikes Peak Power. The details change, and the map shows its installations around Colorado Springs. The customer can explore each partner's work while staying on the same page.

4:53 Build the same page with AI

Let's build the same page with Claude Code. Start with an existing page and its two columns. The Avonni Experience skill adds the components to that page; it doesn't create the site for us. The Avonni Agent Skills and MCP server are set up before this session. The skill gives Claude the method to follow. The MCP server gives it the current component documentation, so it can check the settings instead of guessing them. Our prompt describes the same customer experience: an installer table on the left, and the selected installer's details and installations on the right. It also points Claude to the quick start guide for the connections, and says to use only Avonni Experience Components and keep the existing page layout. Ask Claude to inspect the page, check the components and Salesforce fields, and explain its plan before editing. Review that plan, then let it build and validate the page. The full prompt is in the description.

5:53 Check what AI built

A successful deployment isn't the whole test. Open the generated page in Experience Builder. Check the table's API Name, its single-row selection, and the map's filter. Also check that Phone was loaded for the text block. Then repeat the same test. Choose Flatirons, and check the installations around Boulder. Choose Pikes Peak, and check the name, phone and installations around Colorado Springs. Both methods should give the customer the same result.

6:26 Give your members access

When the page is ready, publish your site. Members need an Avonni package license and the Avonni Experience Cloud Components User permission set to use these components. They also need access to the Salesforce objects, fields and records on the page. Avonni follows Salesforce sharing; publishing a page doesn't grant access to the data. Test with a site member, because the admin preview doesn't prove what that member can see.

6:55 When to use the standard

Salesforce already gives you record lists, search and record pages. A screen flow can also react to a selection and load related records on the same screen. Here, Avonni gives you a ready-made map connected to the table, with the data and connections configured in Experience Builder. You can also build this with custom Lightning components. Avonni gives your admin a way to configure it using ready-made pieces. For a simple list, start with the standard. For this connected table and map, you've seen what the Experience components add.

7:31 Three ideas to reuse

Remember three ideas: find the AX components in Experience Builder, choose a Query data source for Salesforce records, and connect components using the source component's API Name. If the table is empty, check the filters and record access. If the map doesn't follow the selection, check that installers matches the table's API Name exactly, and that the installation records belong to the selected account.

8:03 Next step

Next, watch how to build a donor portal where each member sees their own gifts and yearly total. You'll use the same Experience Components package, and see how Salesforce sharing makes the page personal.

Show the full transcript

Questions this video answers

See it as a use case
No items found.
Build it in your org

Free in sandboxes, 10 free production licenses.

Start free
Keep going

Related tutorials

Find your next tutorial

Browse the whole library, filtered by where it runs and what you want to build.

All video tutorials