Publish a headless experience
Feature availability is part of a phased rollout. Your organization may not see this functionality yet. It will become available when your environment is included in the rollout.
A headless experience does not run while it is in Draft status. Publish it when you are ready for SitecoreAI to make it available for your application.
You can publish the experience immediately or schedule it to become Live at a later date and time.
To publish a headless experience:
-
In the navigation menu, click Optimization.
-
In the left sidebar, click Tests & personalizations.
-
Select Headless.
-
Select the headless experience you want to publish.
The Configuration page opens.
-
In the upper-right corner, click Publish.
-
Under Available from, select when the headless experience becomes available:
- Immediately - the experience becomes Live when you publish it.
- Specific date - select a date and time. The experience remains Scheduled until then.
-
If you selected Specific date, select the start date, enter the start time, and click Done.
-
Under Available until, select how long the experience remains available:
- No end date - the experience remains available until you stop it.
- Specific date -select the date and time when the experience should stop.
-
If you selected Specific date, select the end date and time, then click Done.
-
Click:
- Publish to start the experience immediately.
- Schedule to starts the experience at the selected date and time.
The status changes to Live or Scheduled, depending on the selected start time.
When the experience is Live, your application can run it and receive the configured response.
Next step
After the experience is Live, run the experience from your application and use the returned response to render the experience.