Enabling the CMP connector in an environment deployed to SitecoreAI

To use Sitecore Content Management Platform (CMP) in an environment deployed to SitecoreAI, you must configure and enable the CMP connector.

Before you begin

Before you enable the CMP connection in an environment deployed to SitecoreAI, you must have:

To configure and enable the CMP connector in your SitecoreAI environment, you must create the relevant environment variables using the Deploy app.

To configure and enable the CMP connector:

  1. Log in to the Deploy app.

  2. On the navigation pane of the Deploy app, click Projects.

  3. On the Projects page, click the project that contains the environment where you want to enable the CMP connector.

  4. On the project page, click the environment where you want to enable the CMP connector.

  5. On the environment page, click Variables, then click Create variable.

  6. Create the following variables. For each variable, set the Target to CM.

    Name

    Value

    Description

    Sitecore_ConnectionStrings_CMP_dot_ContentHub

    ClientId={client_id};ClientSecret={client_secret};UserName={username};Password={password};URI={uri};

    Example: ClientId=App;ClientSecret=a51a8fb6-4f57-1234;UserName=john;Password=hunter2;URI=https://example.com/;

    The Client ID and Client Secret of the connector's OAuth client.

    The username and password of the user you created in Content Hub.

    uri of your Content Hub instance.

    Sitecore_ConnectionStrings_CMP_dot_ServiceBusEntityPathIn

    Azure Service Bus connection string with incoming topic

    The Hub out value of the M Azure Service Bus you created.

    Sitecore_ConnectionStrings_CMP_dot_ServiceBusEntityPathOut

    Azure Service Bus connection string with outgoing topic

    The Hub in value of the M Azure Service Bus you created.

    Sitecore_ConnectionStrings_CMP_dot_ServiceBusSubscription

    Subscription name. Set the value to hub_out_subscription when using M Azure Service Bus action.

    The Name of the M Azure Service Bus you created.

    SITECORE_AppSettings_cmpEnabled__define

    yes

    By default, when you deploy an environment to SitecoreAI, the CMP connector is disabled. To enable the connector, set this value to yes.

  7. In the Deploy app, create a build and deploy it to your environment.

    When the deployment is complete, you can configure items for content import and then create a trigger for your M Azure Service Bus action.

Do you have some feedback for us?

If you have suggestions for improving this article,