---
title: "Sitecore Cloud SDK for JavaScript"
slug: "sitecore-cloud-sdk-for-javascript"
abstract: "Easily set up tracking and personalization, and build search experiences in JavaScript web applications with the uniform, seamless integration workflow provided by the Cloud SDK."
---
# Sitecore Cloud SDK for JavaScript

The [open-source Sitecore Cloud SDK](https://github.com/Sitecore/Cloud-SDK) lets developers easily integrate capabilities from various Sitecore digital experience platform (DXP) products[^UUID-101b62f6-b640-ed11-1057-29646ebb9fb7_N6658898fbc9f0] into [Content SDK](https://doc.sitecore.com/sai/en/developers/content-sdk/20/sitecore-content-sdk-for-sitecoreai.html) and [JSS](https://doc.sitecore.com/sai/en/developers/jss/22/jss-sai/sitecore-javascript-services-sdk--jss--for-sitecoreai.html) applications connected to SitecoreAI.

The Cloud SDK provides a variety of packages [available on npm](https://www.npmjs.com/search?q=%40sitecore-cloudsdk).

## Integrate rich Sitecore DXP capabilities

The Cloud SDK supports integrating the following Sitecore DXP capabilities:

- [Real-time, unified tracking](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-concepts/concepts-tracking.html "Tracking") - track site visitors' behavior by capturing events[^UUID-101b62f6-b640-ed11-1057-29646ebb9fb7_N66598351b5945] 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: SitecoreAI, Sitecore CDP, Sitecore Personalize, and Sitecore Search. Tracking capabilities are provided by the Cloud SDK [`events`](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-reference/cloud-sdk-events.html "@sitecore-cloudsdk/events") package.
- [Personalization](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-concepts/concepts-personalization.html "Personalization") - show personalized content to site visitors. Personalization[^UUID-101b62f6-b640-ed11-1057-29646ebb9fb7_N6696484d6f4a6] capabilities are provided by the Cloud SDK [`personalize`](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-reference/cloud-sdk-personalize.html "@sitecore-cloudsdk/personalize") package.
- [Search experiences](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-concepts/concepts-search-experiences.html "Search experiences") - build search experiences[^UUID-101b62f6-b640-ed11-1057-29646ebb9fb7_N67247b544421a], 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`](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-reference/cloud-sdk-search.html "@sitecore-cloudsdk/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 SitecoreAI 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.

[^UUID-101b62f6-b640-ed11-1057-29646ebb9fb7_N6658898fbc9f0]: A suite of [SaaS-enabled Sitecore products](https://www.sitecore.com/products), each offering rich digital experience capabilities such as tracking, personalization, and search. The Cloud SDK supports the following Sitecore products:
    
    - Sitecore CDP
    - Sitecore Personalize
    - Sitecore Search

[^UUID-101b62f6-b640-ed11-1057-29646ebb9fb7_N66598351b5945]: An action a site visitor performs in your app. For example, viewing a webpage, clicking a button, submitting a [SitecoreAI form](https://doc.sitecore.com/xmc/en/users/xm-cloud/en/forms.html), searching for content, or any other interaction you want to track.
    
    When an event triggers, [the event with all its data](https://doc.sitecore.com/sdk/en/developers/005/cloud-sdk/cloud-sdk-concepts/concepts-tracking.html "Tracking") is sent to Sitecore and becomes available in the various Sitecore DXP products your organization has access to. This data drives real-time, unified tracking.

[^UUID-101b62f6-b640-ed11-1057-29646ebb9fb7_N6696484d6f4a6]: The process of creating multiple variants of pages or components and then displaying those variants to different audiences depending on specific conditions. The Cloud SDK supports the personalization process by displaying the relevant content to your site visitors.

[^UUID-101b62f6-b640-ed11-1057-29646ebb9fb7_N67247b544421a]: An interaction that a site visitor has with a Sitecore Search implementation that influences their satisfaction and future behavior.
