Deploy your component to the DXP
To test your component in Matrix, 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
-
Sign in to the DXP Console using a browser.
-
Select Component Service.
-
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.
-
Copy the tenant ID.
Deploy your component:
You now need to deploy your component to the DXP.
In your CLI:
-
Change to your components directory.
-
Enter the following command replacing
hello-world
with the name of the directory that contains your component files:dxp-next cmp deploy ./hello-world
-
Go to dxp.squiz.cloud and select All components. Your deployed component will be shown in the All components list.