Enable Digital Experiences and Create Your Site
Configure Experience Cloud Site Membership
Create a Headless Registration Handler
Configure Headless Identity Settings in Experience Cloud
Activate Your Site
Previous Versions
Because Headless Identity APIs are exposed through Experience Cloud, creating a site is a crucial part of configuring Headless Identity.
| Required Editions |
|---|
| Available in: both Salesforce Classic (not available in all orgs) and Lightning Experience |
| Available in: Enterprise, Unlimited, and Developer Editions |
Through your Experience Cloud site, you control enablement and access for headless flows, including your site membership. You also control security settings for the Headless Registration Flow and Headless Forgot Password Flow.
If you already have an Experience Cloud site, we still recommend creating a new one for this example.
Enable Digital Experiences and Create Your Site
Enabling digital experiences is the first step to creating your Experience Cloud site.
Configure Experience Cloud Site Membership
Because your Experience Cloud site stores all your user information, you must add your end-user profile to the site’s membership.
Create a Headless Registration Handler
Create an Apex class for your registration handler. You reference this Apex class when you configure Experience Cloud settings on the Login & Registration page.
Configure Headless Identity Settings in Experience Cloud
You control enablement, access, and security for the Headless Registration Flow and the Headless Forgot Password Flow on the Experience Cloud Login & Registration page. For this example, configure settings to support headless identity for a single-page app.
To complete your Experience Cloud site setup for headless identity, activate your site. This important but often overlooked step is required to expose Headless Identity API endpoints.