Connect the Component Service and the Matrix Content Management System

The Component Service and Matrix Content Management System are independent parts of the Squiz DXP.

This step sets up the configuration to allow communication paths between the two parts.

Part of the configuration is done in the Matrix Content Management System, and part is done in the Component service.

For every procedure in this step, it is assumed you

  • are logged in to your Squiz DXP instance using an account with the necessary permissions (ie an account with either Developer or Administrator privileges); and

  • have the Squiz DXP dashboard for your Squiz DXP instance available to access both the Matrix Content Management System and the Component service.

Create a Content API token

The Content API token is created in the Matrix Content Management System.

This procedure is only concerned with creating a Content API token.

For more information about Content API tokens see the Manage content API tokens documentation.

To create a Content API token

  1. Locate and right-click the Content API Manager in the Matrix asset tree.

    matrix asset tree content api manager create new content api token
    Figure 1. Contextual menu for Content API Manager showing the Create new… sub-menu.

    A Create new Content API Token dialog loads.

  2. Enter AB token in the Name field.

    Replace AB with your initials.

  3. Click the Create button.

    An Asset created successfully dialog loads.

  4. Click the Edit button.

    The Content API Token details screen loads.

    matrix content api token edit screen
    Figure 2. Content API token edit screen.
  5. Select your user account in the User field.

    This sets the user permissions that calls using this token will have.

  6. Select your web site asset in the Root node restrictions field.

    This grants explicit access through the API to this root node.

  7. Set Enabled to on.

  8. Click the Save button.

  9. Copy the value in the Token field and save the value to a local text file.

    This value is required in the next procedure.

Create a Matrix API identifier

The Matrix API identifier is created in the Component Service.

This procedure is only concerned with creating a Matrix API identifier.

For more information about Matrix API identifiers see the Set up Squiz Content Management Service API Identifiers in the DXP Console documentation.

To create a Matrix API identifier

  1. Click the Matrix API identifiers option in the navigation panel.

  2. Click the Add Matrix API Identifier button.

    The Add Matrix API Identifier dialog loads.

    content services add matrix api identifier dialog
    Figure 3. The Add Matrix API Identifier dialog
  3. Enter a name for this identifier in the Identifier Name field.

    Alphanumeric characters as well as underscores and hyphens are allowed in this field.

    Spaces are not allowed.

  4. Paste the token value created and copied in the previous procedure into the API Key field.

  5. Enter the URL for your Matrix Content Management System instance in the API URL field.

  6. Click the Create button.

  7. Copy the Identifier Name value and save the value to a local text file.

    This value is required in the next step, Add a component set to the Matrix Content Management System.