---
schema_version: "1"
id: 05b76f94bdb064f5133ef29b74b79fbf911b94ff6ffe45a9837995292a34171d
title: Add a Screen Flow to a Public Experience Cloud Site
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/platform/264-0-0/flow_distribute_external_experience_guest_user.md
canonical_url: https://help.salesforce.com/s/articleView?id=platform.flow_distribute_external_experience_guest_user.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ae750a6727e5b83893e00f3a10ae194adf8fc71ec306b40472274c3ae84ea93a
description: Create an Experience Cloud site that's available to everyone and add a flow component to a page in the site and select an active screen flow. You can link to the flow page from your company's website. Use this method to share flows with external users who don't have a Salesforce license, such as customers, partners, or other external users. Because users aren't logging into your site, you don't need to purchase Experience Cloud licenses.
products:
  - Flow Builder
  - Salesforce Platform
release: "264"
---
# Add a Screen Flow to a Public Experience Cloud Site

Create an Experience Cloud site that's available to everyone and add a flow component to a page in the site and select an active screen flow. You can link to the flow page from your company's website. Use this method to share flows with external users who don't have a Salesforce license, such as customers, partners, or other external users. Because users aren't logging into your site, you don't need to purchase Experience Cloud licenses.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=platform.flow_ref_supported_editions.htm&amp;release=264.0.0&amp;type=5" title="Learn about the editions and user interfaces that support Flow Builder. Some Flow Builder features integrate with other Salesforce products that require additional licenses.">View supported editions.</a></td></tr></tbody></table>

![Important](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_important.png)

Important To send email from Salesforce, the Send Email action in Salesforce Flow requires domain-level and user-level email verification. Email delivery fails if either the user's email address or the email-sending domain is unverified. See [Requirements to Send Email from Salesforce](https://help.salesforce.com/s/articleView?id=xcloud.security_email_verification_requirements.htm&language=en_US&type=5).

Adding a flow to an Experience Cloud site without having users login is great for flows where you’re just collecting information. For example, create a screen flow that collects a person's name and email and then create a lead record by using that collected information. Name your flow page Join Our Email List!.

Adding a flow to an Experience Cloud site is similar to adding a flow to a Lightning page. Flows on Experience Cloud sites work well for:

- Surveys
- Registration forms
- Lead capture forms

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-platform-platform_automation-264-0-0-production-enus/60568438-ec7e-4665-acd1-7c80dcbe60d5/images/icon_note.png)

Note

- The Flow component doesn't show the flow in design or preview mode. Publish and activate the site to test the flow.

1. Create a screen flow. Learn more in [Get a Basic Screen Flow Ready for Users](https://help.salesforce.com/s/articleView?id=platform.automate_flow_build_create_a_screen_flow.htm&release=264.0.0&type=5 "Create a basic screen flow and get it ready for your users to run. Add screen elements and screen components to gather information, set up what happens with that information, test that everything works, and roll it out to your users.") or in the [Screen Flow Trailhead Module](https://trailhead.salesforce.com/content/learn/modules/screen-flows).
    1. In your screen flow, click the gear to open the flow properties.
    2. Click **Show Advanced**.
    3. For How to Run the Flow, select **System Context Without Sharing**.
    4. If your flow is sending an email, in the Send Email action element, set the sender to a verified organization-wide email address.
        
        Learn more in [Set Up Organization-Wide Email Addresses](https://help.salesforce.com/s/articleView?id=sales.emailadmin_manage_orgwide_email_addresses.htm&type=5&language=en_US).
    5. Save your flow as a new version.
    6. Click **Activate.**
2. Set up access to your flow.
    
    - From Setup, in the Quick Find box, enter Flows, and then select **Flows**.
    - From the Automation app, select the **Flows** tab.
    - From the **Flows** tab in any Lightning app, click the actions menu and select **Open Flow**.
    
    1. Click the actions menu dropdown for your flow and select **Edit Access**.
    2. Select **Override default behavior and restrict access to enabled profiles or permission sets.**.
    3. Click **Save**.
3. Enable Digital Experiences. If it's already enabled, skip to the next step.
    1. From Setup, in the Quick Find box, enter Digital Experiences, and then click **Settings** under Digital Experiences.
    2. Click **Enable Digital Experiences**.
    3. Click **Save**.
4. Create an Experience Cloud site.
    1. In the Digital Experiences All Sites page in Setup, click **New**.
    2. Select the **Build Your Own (LWR)** template, and then click **Get Started**.
    3. Enter a name and end of URL for your site and click **Create**.
        
        After a few minutes, your new site opens.
    4. Click the **Builder** card.
5. Create a page to put the flow on.
    1. Click **Home** to open the Pages menu.
    2. Click **\+ New Page**.
    3. Select **Standard Page**.
    4. Click **\+ New Blank Page**.
    5. Give the page a name and URL. For example, Join Our Email List and join-our-email-list.
6. Add the flow to the page.
    1. Click the lightning icon to open the Components list.
    2. Click and drag the **Flow** component on to the page.
    3. In the Flow component settings, for Flow, select the active screen flow that you want to show on the page.
    4. If the flow includes variables that are available for input, the variable fields appear in the property editor. Enter a value for each variable or leave the fields blank.
7. Add any other additional text or styling to the page.
    
    Learn more about building an Experience Cloud site in [Build and Customize Your Experience Cloud Site](https://help.salesforce.com/s/articleView?id=experience.exp_cloud_build.htm&type=5&language=en_US).
    
    Consider adding your logo to the page by using an Image component so users can tell it's a legitimate web page.
8. Give unauthenticated guest users access to your site and flow.
    1. Click the gear to open Settings.
    2. In the General section, for Public Access, select **Guest users can see and interact with the site without logging in**.
    3. Under Guest User Profile, click the site profile. For example, click **Join Our Email List Profile**.
        
        The profile opens in Setup in a new browser tab.
    4. Search for and select **Flow Access**.
    5. Add your screen flow to the Enable Flows list and click **Save**.
9. Publish and activate your site.
    1. Go back to your Experience Cloud site.
    2. Click **Publish**, and then click **Publish** again to confirm.
        
        When the site is published, you receive an email.
    3. After the site is published, in Setup, search for and select **All Sites**.
    4. Click **Workspaces**next to your Experience Cloud site.
    5. Click the **Administration** card.
    6. In the Settings section, click **Activate**.
10. Give unauthenticated guest users access to public APIs.
    
    Because we selected a Lightning runtime (LWR) template, this step is required.
    
    1. In the Administration workspace, in the Preferences section, select **Allow guest users to access public APIs** and then click **Save**.
11. Test your flow.
    
    1. Go back to the Digital Experiences All Sites page in Setup.
    2. Click **Builder** next to your Experience Cloud site.
    3. Click the gear to open Settings.
    4. Under Published Status, copy the URL.
    5. Paste the URL into the address bar of a new incognito browser window.
        
        Use an incognito window to mimic the experience of a user who isn't logged into your org.
    6. Back in Experience Builder, go to your page with the flow on it.
    7. Click the gear near the pages menu to open the page Properties.
    8. Copy the page URL and paste it after the base URL in the incognito window.
    9. Press the enter key and see your flow on the web page.
    
    Now, you can use that full URL to link to the screen flow.