Deploy your component to the DXP

To test your component in Squiz Content Management Service, you must deploy your component to the DXP and add it to a component set.

Log in to the DXP

You must sign in to the DXP from the CLI. There are two ways you can sign in and for both of them you will need your tenant ID. The tenant ID is part of the DXP URL:

Find your tenant-ID

  1. Sign in to the DXP Console using a browser.

  2. Select Component Service.

  3. Look at the URL on the browser. It will look like this:

    https://dxp.squiz.cloud/organization/YOUR-TENANT-ID/component-service/component-sets

    YOUR_TENANT_ID is an alphanumeric identifier specific to your DXP instance.

  4. Copy the tenant ID.

  5. Use the tenant ID in your DXP login command. Full instructions can be found in the DXP CLI documentation.

In your CLI:

  1. Change to your components directory.

  2. Enter the following command replacing hello-world with the name of the directory that contains your component files:

    dxp-next cmp deploy ./hello-world

  3. Go to dxp.squiz.cloud and select All components. Your deployed component will be shown in the All components list.

    This image shows the newly deployed component in the DXP All Components page. It appears as a card with the title