Embedded Service: Flow Screen on 3rd Party Site If you would like to emulate the web to case functionality on an external (3rd party) website, you can leverage an Embedded Service Flow. Once configured this will allow unauthenticated users to run a flow from a button on your external web page. NOTE: When designing the flow to be run in this way you should be very careful in constructing the flow as to not allow the user to query for information they should not have access to. Additionally consider some extra security to help prevent abuse from bots like the CAPTCHA for Flow referenced below. Create a Screen Flow for intended use by unauthenticated external users. This flow should be restrictive in what it displays as anyone can see it. Using Lookup fields is iladvised for fields like accounts, users, contacts, etc. Create a screen Element (Remove Pause always and Previous buttons where applicable) Add the desired fields to i.e. Recommended follow Flow Naming Conventions . HOWEVER Name the flow something friendly as this displays to users. Run in system context to allow unauthenticated users to run the flow. BECAREFUL!!! DO NOT USE LOOKUP Fields or allow direct queries of information public users shouldn't have access too!!! Recommended use TEXT Inputs and Creates Do not provide any or limited information back to the user. In your flow description notate this detail so a later admin do NOT make a mistake exposing info!Contact First Name (Text) Contact Last Name (Text) Account Name (Text) Email Phone Reason For Request (Long Text) Consider the addition of the Recaptcha Flow Screen Component References: https://unofficialsf.com/protect-a-flow-on-a-public-community-with-the-google-recaptcha-component/ Check pull requests for fixes for the two cited issues Perform any looks ups for things like the queue ID instead of hardcoding it. Create the Record If desired you can add a finish screen to report back the creation of the record and provide them their reference record number. Again Be sure to remove the previous button to prevent unauthenticated users from spamming record creation. Create a Site by navigating to Setup and Searching for Sites New Site Label Site Name Set Site Contact Set Default Record Owner - note your flow can write over this. Active - Check Select an Active Home Page - you may need to create a visualforce page if an existing option isn't sufficient. Shouldn't be necessary for operation of flow. Make sure your Inactive Site Home Page is branded accordingly. Create a robot file if necessary Important Allow Framing on site pages on external domains (Good Protection) Anything else unspecified can be left default. From Setup Search CORS to add the 3rd Party Site. Click New to add to the Allowed Origins List. Add the URL example: https://www.w3schools.com/ Next create an Embedded Service by navigating from and Searching for Embedded Service Deployments. Click New Deployment Select Embedded Flow Set an Embedded Service Deployment Name - this will be visible in the code you put on your site Set an API Name - this will be visible in the code you put on your site Site EndPoint: Select the site that you created above. Next to create the embedded service and be routed to the Embedded Service Deployment Settings. On the Embedded Service Deployment Settings You can customize the Flow and Branding settings, but this is not required. Toggle your Service to Active Click Get code and copy the "Chat Code Snippet" Paste the copied code into a text editor like Sublime Text or VScode. To Change the Button Text remove the comment slashes from the following: embedded_svc.settings.defaultMinimizedText = '...'; //(Defaults to Chat with an Expert) embedded_svc.settings.disabledMinimizedText = '...'; //(Defaults to Agent Offline) embedded_svc.settings.loadingText = ''; //(Defaults to Loading) Recommended change the default messages(display above as '...' but on your site it will say "Start Setup Flow" for each to 'Get Support' or something similar. Copy updated code. Paste on your site or if you want to use the example above of https://www.w3schools.com/html/tryit.asp?filename=tryhtml_default For testing paste between thePaste your code here If you don't want to use the provided button: Go back into your text editor and set the displayHelpButton to False embedded_svc.settings.displayHelpButton = false You can instead launch the flow via by invoking the bootstrap embedded chat when using for example a custom button on your site by using the following NOTE This must be within the code copied from SF for it to work. You can leave the default button on if you want multiple points of entry into the flow. Issues Check the above steps and make sure your flow, site, etc are all active.Captcha image broken on 3rd party site: https://github.com/clifford-fra/GoogleRecaptchav2 Additional troubleshooting resources on https://formidableforms.com/knowledgebase/recaptcha/ If still having problems feel free to @megalithe (ID 246568944213819393) in the SFXD Discord.