---
title: "Getting started with the Cloud SDK"
slug: "getting-started-with-the-cloud-sdk"
abstract: "Choose your path for getting started with the Cloud SDK. You can start with any Sitecore DXP capability you want to set up."
---
# Getting started with the Cloud SDK

If you are [ready to start development](https://doc.sitecore.com/sdk/en/developers/003/cloud-sdk/before-you-get-started.html "Before you get started") and [installed and initialized](https://doc.sitecore.com/sdk/en/developers/003/cloud-sdk/install-and-initialize-the-cloud-sdk.html "Install and initialize the Cloud SDK") the Cloud SDK, you can start developing with it.

How you get started with the Cloud SDK depends on the type of your app and which Sitecore DXP[^UUID-a823635e-a6a6-bc5f-f1fb-cdd0de4bfd46_N6658898fbc9f0] capabilities you want to set up.

::::tabs
:::tab{title="JavaScript web app"}
If you're using a JavaScript web app, we recommend that you get started in the following way:

- Real-time, unified tracking - start by [capturing `VIEW` events](https://doc.sitecore.com/sdk/en/developers/003/cloud-sdk/getting-started-with-the-cloud-sdk/tracking/set-up-view-events.html "Set up VIEW events") because they are essential for tracking. Then, continue setting up tracking by capturing other events, such as [`IDENTITY`](https://doc.sitecore.com/sdk/en/developers/003/cloud-sdk/getting-started-with-the-cloud-sdk/tracking/set-up-view-events.html "Set up VIEW events") and [custom](https://doc.sitecore.com/sdk/en/developers/003/cloud-sdk/getting-started-with-the-cloud-sdk/tracking/set-up-view-events.html "Set up VIEW events") ones.

    > [!important]
    > Only set up tracking if your site visitor grants consent.

- Personalization - you have already set up web personalization during [initialization](https://doc.sitecore.com/sdk/en/developers/003/cloud-sdk/install-and-initialize-the-cloud-sdk.html "Install and initialize the Cloud SDK"), so continue by setting up [interactive personalization](https://doc.sitecore.com/sdk/en/developers/003/cloud-sdk/getting-started-with-the-cloud-sdk/personalization/set-up-interactive-personalization.html "Set up interactive personalization").

:::
:::tab{title="JSS app connected to SitecoreAI"}
If you're using a JSS app connected to SitecoreAI, certain capabilities automatically run, with no coding required. We recommend that you set up additional capabilities to ensure that your app uses the full potential of Sitecore DXP products.

The following Cloud SDK capabilities run in JSS apps automatically, with no coding required:

- Real-time, unified tracking:
    - `VIEW` event capturing - this tracks when a site visitor views a webpage in your app. By updating the Cloud SDK code in your JSS Next.js app, you can [modify the `VIEW` event configuration](https://doc.sitecore.com/sai/en/developers/jss/22/jss-sai/configure-personalization-in-a-next-js-jss-app.html#UUID-030fa80e-067f-9052-8bb8-6d6e46daba49_section-idm1403329768564256) or [disable it](https://doc.sitecore.com/sai/en/developers/jss/22/jss-sai/configure-personalization-in-a-next-js-jss-app.html#UUID-030fa80e-067f-9052-8bb8-6d6e46daba49_section-idm1403329768567788).
    - `FORM` event capturing - this tracks when a site visitor views or submits a [SitecoreAI form](https://doc.sitecore.com/xmc/en/users/xm-cloud/en/forms.html). The collected data is used to populate the SitecoreAI form analytics dashboard.
- Personalization:
    - [SitecoreAI personalizations](https://doc.sitecore.com/sai/en/users/sitecoreai/personalize.html) - by updating the Cloud SDK code in your JSS Next.js app, you can [configure and disable personalization](https://doc.sitecore.com/sai/en/developers/jss/22/jss-sai/configure-personalization-in-a-next-js-jss-app.html#UUID-030fa80e-067f-9052-8bb8-6d6e46daba49_section-idm1403329768567788).
    - [SitecoreAI A/B/n testing](https://doc.sitecore.com/sai/en/users/sitecoreai/a-b-n-testing.html).

In addition to the capabilities that run automatically, you can set up the following Cloud SDK capabilities in your JSS app. These capabilities are provided by different Cloud SDK packages[^UUID-a823635e-a6a6-bc5f-f1fb-cdd0de4bfd46_N665975d2b0614] that are independent of each other: you can set up all capabilities or only some of them, and in any order you prefer:

- Real-time, unified tracking - continue setting up tracking on your site by capturing more events:
    - [Capture `IDENTITY` events](https://doc.sitecore.com/sdk/en/developers/003/cloud-sdk/getting-started-with-the-cloud-sdk/tracking/set-up-identity-events.html "Set up IDENTITY events") - this event is used to resolve the identity of an anonymous site visitor to your app.
    - [Capture Sitecore Search events](https://doc.sitecore.com/sdk/en/developers/003/cloud-sdk/cloud-sdk-concepts/concepts-tracking/events.html "Events") - if you have created at least one search experience in your app, these events let you track a site visitor's interactions with the experience.
    - [Capture custom events](https://doc.sitecore.com/sdk/en/developers/003/cloud-sdk/getting-started-with-the-cloud-sdk/tracking/set-up-custom-events.html "Set up custom events") - custom events let you track any visitor behavior of your choice, for example, when the site visitor clicks a component.

    > [!important]
    > Only set up tracking if your site visitor grants consent.

- Personalization - you have already set up web personalization during [initialization](https://doc.sitecore.com/sdk/en/developers/003/cloud-sdk/install-and-initialize-the-cloud-sdk.html "Install and initialize the Cloud SDK"), so continue by setting up [interactive personalization](https://doc.sitecore.com/sdk/en/developers/003/cloud-sdk/getting-started-with-the-cloud-sdk/personalization/set-up-interactive-personalization.html "Set up interactive personalization").

:::::::

[^UUID-a823635e-a6a6-bc5f-f1fb-cdd0de4bfd46_N6658898fbc9f0]: *Sitecore DXP* is a suite of [SaaS-enabled Sitecore products](https://www.sitecore.com/products), each offering rich digital experience capabilities such as tracking and personalization. The Cloud SDK supports the following Sitecore products:
    
    - SitecoreAI
    - Sitecore CDP
    - Sitecore Personalize
    - Sitecore Search

[^UUID-a823635e-a6a6-bc5f-f1fb-cdd0de4bfd46_N665975d2b0614]: The Cloud SDK consists of *packages*. Each package represents a set of Sitecore DXP capabilities. Cloud SDK packages consist of `browser` and `server` modules.
