Sitecore Cloud SDK for JavaScript
The Sitecore Cloud SDK lets developers easily integrate capabilities from various Sitecore digital experience platform (DXP) productsSitecore digital experience platform (DXP) products into JSS Next.js and JSS Angular web applications connected to XM Cloud.
The Cloud SDK provides a variety of packages available on npm.
Integrate rich Sitecore DXP capabilities
The Cloud SDK supports integrating the following Sitecore DXP capabilities:
-
Real-time, unified tracking - track site visitors' behavior by capturing eventsevents on your site in real time. The event with all its data is sent to Sitecore and becomes available in the various Sitecore DXP products your organization has access to: XM Cloud, Sitecore CDP, Sitecore Personalize, and Sitecore Search. Tracking capabilities are provided by the Cloud SDK
events
package. -
Personalization - show personalized content to site visitors. PersonalizationPersonalization capabilities are provided by the Cloud SDK
personalize
package. -
Search experiences - build search experiencessearch experiences, such as a search results page or a recommendation component, and capture events that occur inside them. Search capabilities are provided by the Cloud SDK
search
package.
Integrate easily
Although each Sitecore DXP product has fundamentally different capabilities, the Cloud SDK greatly simplifies integrating them into your app: it standardizes integration workflows and creates a consistent, unified developer experience. The Cloud SDK makes integration fast, seamless, and predictable.
Integrate when you're ready
The Cloud SDK makes it easy to integrate with different Sitecore DXP products at different times.
For example, your organization might currently only use XM Cloud and Sitecore Personalize. In that scenario, you'll use the Cloud SDK to integrate with Sitecore Personalize.
If your organization later decides to start using Sitecore Search as well, your existing Cloud SDK integration will continue working: you won't need to learn to use other SDKs or REST APIs. You'll only need to make code updates to your existing Cloud SDK code to integrate with Sitecore Search.