Set up interactive personalization
You can use the Cloud SDK personalize package to run interactive experiencesinteractive experiences that are live in Sitecore Personalize. You typically run interactive experiences in components in a webpage, not necessarily on the webpage itself. Running the experience will return an API response, which contains the personalized content. You can use the API response to display content to your site visitor or take other actions, depending on your application requirements.
This walkthrough describes how to:
-
Have a live interactive experience in Sitecore Personalize to work with.
-
In your code editor, open the root folder of your web app.
-
Install and initialize the Cloud SDK and the
personalizepackage.
Find the friendly ID in Sitecore Personalize
The first step to running an interactive experience is to find its friendly IDfriendly ID.
To find the friendly ID:
-
In Sitecore Personalize, click Experiences.
-
Click the live interactive experience you want to run.
-
On the page of the experience, click Build summary. The friendly ID is in the Details pane.

-
Make a note of the friendly ID. You'll use it in the next procedure to run the experience.
Run the experience on your site
After finding the friendly ID of the experience, you update your Cloud SDK code in the source code of your web app and run the experience on your site.
Verify that the experience is running
After updating your code, it's a good idea to check that the experience is running on your site.
Next steps
You've now successfully run the experience on your site and received the API response for the experience in your web app. You can now proceed to work with the response, for example, by displaying its content on your site.
Next, you can:
-
Learn more about running personalizations.
-
Run Sitecore Personalize web experiences.
-
Explore the reference documentation for the
personalizepackage. -
Set up other Sitecore DXP capabilities, such as using tracking to capture
VIEW,IDENTITY, and custom events.