---
title: "Install and configure Sitecore Stream for Platform DXP"
slug: "install-and-configure-sitecore-stream-for-platform-dxp"
abstract: "How to download and install the Sitecore Stream for Platform DXP module to enable AI capabilities in Experience Platform."
---
# Install and configure Sitecore Stream for Platform DXP

This topic describes how to install, configure, and verify the Sitecore Stream for Platform DXP module. A successful installation enables [AI capabilities](https://doc.sitecore.com/xp/en/users/102/sitecore-experience-platform/ai-in-experience-platform.html "AI in Experience Platform") in Experience Platform.

This walkthrough describes how to:

1. [Download and install the Sitecore Stream for Platform DXP module](https://doc.sitecore.com/xp/en/users/102/sitecore-experience-platform/install-and-configure-sitecore-stream-for-platform-dxp.html#UUID-625a65ef-4cc1-f2ac-cc07-95e445b864fd_section-idm234778534564152 "Download and install the Sitecore Stream for Platform DXP module")
2. [Generate the Sitecore Stream client_ID and client_secret](https://doc.sitecore.com/xp/en/users/102/sitecore-experience-platform/install-and-configure-sitecore-stream-for-platform-dxp.html#UUID-625a65ef-4cc1-f2ac-cc07-95e445b864fd_section-idm234778534879302 "Generate the Sitecore Stream client_ID and client_secret")
3. [Update the Sitecore Stream connection strings](https://doc.sitecore.com/xp/en/users/102/sitecore-experience-platform/install-and-configure-sitecore-stream-for-platform-dxp.html#UUID-625a65ef-4cc1-f2ac-cc07-95e445b864fd_section-idm234778535095622 "Update the Sitecore Stream connection strings")
4. [Configure brand kit integration](https://doc.sitecore.com/xp/en/users/102/sitecore-experience-platform/install-and-configure-sitecore-stream-for-platform-dxp.html#UUID-625a65ef-4cc1-f2ac-cc07-95e445b864fd_section-idm1703484912437430 "Configure brand kit integration")
5. [Verify the installation](https://doc.sitecore.com/xp/en/users/102/sitecore-experience-platform/install-and-configure-sitecore-stream-for-platform-dxp.html#UUID-625a65ef-4cc1-f2ac-cc07-95e445b864fd_section-idm234778568213891 "Verify the installation")
6. [Verify the configuration](https://doc.sitecore.com/xp/en/users/102/sitecore-experience-platform/install-and-configure-sitecore-stream-for-platform-dxp.html#UUID-625a65ef-4cc1-f2ac-cc07-95e445b864fd_section-idm1703484915601642 "Verify the configuration")

## Download and install the Sitecore Stream for Platform DXP module

To enable AI capabilities in Experience Platform, download and install the Sitecore Stream for Platform DXP module.

> [!important]
> You can download the module only if you have Sitecore Cloud Portal access and an org ID associated with your Sitecore Stream license.

To download and install the Sitecore Stream for Platform DXP module:

1. [Log in to the Sitecore Cloud Portal](https://portal.sitecorecloud.io/).
2. If you belong to multiple organizations, select the one that contains Sitecore Stream. If already logged in, [switch to the correct organization](https://doc.sitecore.com/portal/en/developers/sitecore-cloud-portal/en/switch-your-organization.html).
3. On the Sitecore Cloud Portal home page, in the **Sitecore Cloud** section, choose your **Stream** instance.
4. In the right-hand pane, click **Sitecore Stream for Platform DXP** to download latest module package. The downloaded zip file contains both the installation package and the documentation.
5. After the download is complete, extract the zip file to a local folder. It includes:
    - **SitecorePackage** - the installation package zip file you will upload to XP or XM in the next step.
    - **docs** - a folder containing reference documentation in Markdown format.
6. To install the module in Sitecore XM or XP, use the **SitecorePackage** zip file:
    - On the Sitecore Launchpad, click **Control Panel** > **Administration** > **Install a package**.
    - On the Sitecore Desktop, click **Start Menu** > **Development Tools** > **Installation Wizard**.
7. Follow the steps in the installation wizard to complete the setup.

    > [!note]
    > For more details on installing [Sitecore Stream for Platform DXP module](https://developers.sitecore.com/downloads/Sitecore_Stream_for_Platform_DXP), see the documentation included in the downloaded zip file.

## Generate the Sitecore Stream client_ID and client_secret

To authenticate Sitecore Stream and [configure the connection strings](https://doc.sitecore.com/xp/en/users/102/sitecore-experience-platform/install-and-configure-sitecore-stream-for-platform-dxp.html#UUID-625a65ef-4cc1-f2ac-cc07-95e445b864fd_section-idm234778535095622 "Update the Sitecore Stream connection strings"), you must create a new client to generate the `client_ID` and `client_secret` for your organization.

To generate the Sitecore Stream `client_ID` and `client_secret`:

1. [Log in to the Sitecore Cloud Portal](https://doc.sitecore.com/portal/en/developers/sitecore-cloud-portal/en/log-in-to-the-sitecore-cloud-portal.html).
2. If you belong to multiple organizations, select the one that contains Sitecore Stream. If already logged in, [switch to the appropriate organization](https://doc.sitecore.com/portal/en/developers/sitecore-cloud-portal/en/switch-your-organization.html).
3. On the Sitecore Cloud Portal home page, in the **Apps** section, click the Stream app, then in the right-hand pane, click **Open app**.
4. On the Stream navigation menu, click **Admin**.
5. On the **XP/XM keys** page, click **Create credential**.
6. In the **Create New Client** dialog:
    - In the **Label** field, enter a name for the client.
    - Optionally, in the **Description** field, enter a client description.
7. Click **Create**. The **Client ID** and **Client Secret** fields will be populated.
8. Copy and save the generated values for `client_ID` and `client_secret`, then click **Done**.

    > [!warning]
    > The `client_secret` is displayed only once and cannot be retrieved later. If lost, you must generate a new authentication client.

## Update the Sitecore Stream connection strings

Before using the Sitecore Stream for Platform DXP module, configure the connection strings using your organization's `client_ID` and `client_secret`.

To configure the Sitecore Stream connection strings:

1. Open the `C:\inetpub\wwwroot\YourSitecoreCm\App_Config\ConnectionStrings.config` file.
2. Add the following line before the `</connectionStrings>` closing tag of the XML element:

    ```xml
    <add
    name="sitecore.aiclient.stream"
    connectionString="client_id=YOUR_CLIENT_ID;client_secret=YOUR_CLIENT_SECRET;authority=https://auth.sitecorecloud.io;audience=https://api.sitecorecloud.io"
    />
    ```

3. Replace `YOUR_CLIENT_ID` and `YOUR_CLIENT_SECRET` with your actual values [generated in Sitecore Cloud Portal](https://doc.sitecore.com/xp/en/users/102/sitecore-experience-platform/install-and-configure-sitecore-stream-for-platform-dxp.html#UUID-625a65ef-4cc1-f2ac-cc07-95e445b864fd_section-idm234778534879302 "Generate the Sitecore Stream client_ID and client_secret").
4. Save the file.

    > [!note]
    > For more details on configuring [Sitecore Stream for Platform DXP](https://developers.sitecore.com/downloads/Sitecore_Stream_for_Platform_DXP), refer to the `config.md` file included in the installation package.

## Configure brand kit integration

> [!note]
> Brand kits are available only with Stream Premium. To learn more, contact your Account Manager.

Before you can use a [brand kit](https://doc.sitecore.com/stream/en/users/sitecore-stream/en/brand-kits.html) in Experience Platform, your organization must first create one in Sitecore Stream. Stream references the brand kit and draws on the information in the *Brand Context*, *Do's and Don'ts*, and *Tone of Voice* [sections](https://doc.sitecore.com/stream/en/users/sitecore-stream/en/brand-kits.html) to guide [content generation](urn:resource:component:1600792) that reflects your brand.

To apply a brand kit in Experience Platform:

- If you're using Stream DXP module version 1.0, follow the instructions below to configure a brand kit using your `organization ID` and `brand kit ID`.
- For later versions, use the [procedure to apply a brand kit directly from the Stream dialog](https://doc.sitecore.com/xp/en/users/102/sitecore-experience-platform/ai-assisted-content-generation.html#UUID-eecfaa48-66ab-8ad7-181c-591d11eae84e_section-idm234880274508161 "Apply a brand kit for creating on-brand content").

To configure brand kit integration using your `organization ID` and `brand kit ID`:

1. [Log in to the Sitecore Cloud Portal](https://doc.sitecore.com/portal/en/developers/sitecore-cloud-portal/en/log-in-to-the-sitecore-cloud-portal.html)
2. If you belong to multiple organizations, select the one that contains Sitecore Stream. If already logged in, [switch to the appropriate organization](https://doc.sitecore.com/portal/en/developers/sitecore-cloud-portal/en/switch-your-organization.html).
3. Get your `organization ID` from the URL.

    For example: `https://portal.sitecorecloud.io/?organization=org_ABCDef123456`

    The `organization ID` is what comes after `organization=`.

4. Open the Stream app, go to **Brand Kits**, and open your brand kit. Then, get the `brand kit ID` from the URL.

    For example: `https://stream.sitecorecloud.io/brandkits/a1234bcd-efg5-678h-910i-jklmnopqrstu`

    The `brand kit ID` is what comes after `brandkits/`.

5. Open the `C:\inetpub\wwwroot\YourSitecoreCm\App_Config\Sitecore\AiClient\Sitecore.AiClient.config` file.
6. Update the following settings:

    ```xml
    <setting name="Sitecore.AiClient.Stream.BrandKitId" value="YOUR_BRANDKIT_ID" />
    ```

    ```xml
    <setting name="Sitecore.AiClient.Stream.BrandKitReferencePath" value="/api/brands/v1/organizations/YOUR_ORG_ID/brandkits/YOUR_BRANDKIT_ID/references" />
    ```

7. Replace `YOUR_ORG_ID` and `YOUR_BRANDKIT_ID` with your actual values.
8. Save the file.

    > [!note]
    > For more details on configuring [Sitecore Stream for Platform DXP](https://developers.sitecore.com/downloads/Sitecore_Stream_for_Platform_DXP), refer to the `config.md` file included in the installation package.

## Verify the installation

After completing the installation and configuration, confirm that AI capabilities are available in Experience Platform.

To verify the installation:

1. Open the [Sitecore Launchpad](https://doc.sitecore.com/xp/en/users/102/sitecore-experience-platform/overview-of-the-sitecore-launchpad.html "Overview of the Sitecore Launchpad") and check if the **Stream** area is visible.
2. Ensure that the icons for the following AI features are present: **Projects**, **Assistant**, and **Brand kits**, and verify that you can access each one from the Sitecore Launchpad.

    > [!note]
    > Projects is available with the Stream Free tier, while Assistant and Brand kits require a Stream Premium subscription. To learn more, contact your Account Manager.
    >
    > If your organization uses the Stream Free tier, the two Premium features will appear disabled in the Launchpad.

## Verify the configuration

After successful installation, you can verify configuration by checking the AI-assisted content generation feature.

To verify the configuration:

1. Open the Content Editor or Experience Editor.
2. Verify that the **AI icon** ![XP_AI_icon.png](https://doc.sitecore.com/api/markdown-image/xp/en/users/102/sitecore-experience-platform/images/XP_AI_icon.png) appears beside supported fields: single-line, multiple-line, and rich-text fields.
3. Click the **AI icon** ![XP_AI_icon.png](https://doc.sitecore.com/api/markdown-image/xp/en/users/102/sitecore-experience-platform/images/XP_AI_icon.png) to test the [content generation](https://doc.sitecore.com/xp/en/users/102/sitecore-experience-platform/ai-assisted-content-generation.html "AI-assisted content generation") dialog functionality. If there are no errors, the configuration is correct.