Configure AEM Assets with Brand Portal

Version Article link
AEM as a Cloud Service Click here
AEM 6.5 This article

Adobe Experience Manager Assets Brand Portal allows you to publish approved brand assets from Adobe Experience Manager Assets to Brand Portal and distribute them to the Brand Portal users.

AEM Assets is configured with Brand Portal via Adobe Developer Console, which procures an Adobe Identity Management Services (IMS) account token for authorization of the Brand Portal tenant.

NOTE

Configuring AEM Assets with Brand Portal via Adobe Developer Console is supported on AEM 6.5.4.0 and above.

Earlier, Brand Portal was configured via legacy OAuth Gateway, which uses the JSON Web Token (JWT) exchange to obtain an IMS Access token for authorization.

Configuration via legacy OAuth Gateway is no longer supported from April 6, 2020, and is changed to Adobe Developer Console.

TIP

For existing customers only

It is recommended to continue using the existing legacy OAuth Gateway configuration. In case, you encounter problems with legacy OAuth Gateway configuration, delete the existing configuration and create new configuration via Adobe Developer Console.

This help describes the following two use-cases:

  • New configuration: If you are a new Brand Portal user and want to configure your AEM Assets author instance with Brand Portal, you can create configuration via Adobe Developer Console.
  • Upgrade configuration: If you are an existing Brand Portal user having configuration on legacy OAuth Gateway, delete the existing configuration and create new configuration via Adobe Developer Console.

The information provided is based on the assumption that anyone reading this Help is familiar with the following technologies:

  • Installing, configuring, and administering Adobe Experience Manager and AEM packages.

  • Using Linux and Microsoft Windows operating systems.

Prerequisites

You require the following to configure AEM Assets with Brand Portal:

  • An up and running AEM Assets author instance with the latest Service Pack
  • A Brand Portal tenant URL
  • A user with system administrator privileges on the IMS organization of the Brand Portal tenant

Download and install AEM 6.5

Download and install latest AEM Service Pack

Download and install AEM 6.5

It is recommended to have AEM 6.5 to set up an AEM author instance. If you do not have AEM up and running, download it from the following locations:

After you download AEM, for instructions to set up an AEM author instance, see deploying and maintaining.

Download and install AEM latest Service Pack

For detailed instructions see,

Contact Support if you are unable to find the latest AEM package or Service Pack.

Create configuration

Configuring AEM Assets with Brand Portal requires configurations in both, AEM Assets author instance as well as Adobe Developer Console.

  1. In AEM Assets, create an IMS account and generate a public certificate (public key).
  2. In Adobe Developer Console, create a project for your Brand Portal tenant (organization).
  3. Under the project, configure an API using the public key to create a service account (JWT) connection.
  4. Get the service account credentials and JWT payload information.
  5. In AEM Assets, configure the IMS account using the service account credentials and JWT payload.
  6. In AEM Assets, configure the Brand Portal cloud service using the IMS account and Brand Portal endpoint (organization URL).
  7. Test your configuration by publishing an asset from AEM Assets to Brand Portal.
NOTE

An AEM Assets author instance shall only be configured with one Brand Portal tenant.

Perform the following steps in the listed sequence if you are configuring AEM Assets with Brand Portal for the first time:

  1. Obtain public certificate
  2. Create service account (JWT) connection
  3. Configure IMS account
  4. Configure cloud service
  5. Test configuration

Create IMS configuration

The IMS configuration authenticates your AEM Assets author instance with the Brand Portal tenant.

IMS configuration includes two steps:

Obtain public certificate

The public key (certificate) authenticates your profile on Adobe Developer Console.

  1. Log in to your AEM Assets author instance. The default URL is http://localhost:4502/aem/start.html.

  2. From the Tools Tools panel, navigate to Security > Adobe IMS Configurations.

  3. In Adobe IMS Configurations page, click Create. It will redirect to the Adobe IMS Technical Account Configuration page. By default, the Certificate tab opens.

  4. Select Adobe Brand Portal in the Cloud Solution dropdown list.

  5. Select the Create new certificate check box and specify an alias for the public key. The alias serves as name of the public key.

  6. Click Create certificate. Then, click OK to generate the public key.

    Create Certificate

  7. Click the Download Public Key icon and save the public key (.crt) file on your machine.

    The public key will be used later to configure API for your Brand Portal tenant and generate service account credentials in Adobe Developer Console.

    Download Certificate

  8. Click Next.

    In the Account tab, Adobe IMS account is created which requires the service account credentials that are generated in Adobe Developer Console. Keep this page open for now.

    Open a new tab and create a service account (JWT) connection in Adobe Developer Console to get the credentials and JWT payload for configuring the IMS account.

Create service account (JWT) connection

In Adobe Developer Console, projects and APIs are configured at Brand Portal tenant (organization) level. Configuring an API creates a service account (JWT) connection. There are two methods to configure API, by generating a key pair (private and public keys) or by uploading a public key. To configure AEM Assets with Brand Portal, you must generate a public key (certificate) in AEM Assets and create credentials in Adobe Developer Console by uploading the public key. These credentials are required to configure the IMS account in AEM Assets. Once the IMS account is configured, you can configure the Brand Portal cloud service in AEM Assets.

Perform the following steps to generate the service account credentials and JWT payload:

  1. Log in to Adobe Developer Console with system administrator privileges on the IMS organization (Brand Portal tenant). The default URL is https://www.adobe.com/go/devs_console_ui.

    NOTE

    Ensure that you have selected the correct IMS organization (Brand Portal tenant) from the dropdown (organization) list located at the upper-right corner.

  2. Click Create new project. A blank project with a system-generated name is created for your organization.

    Click Edit project to update the Project Title and Description, and click Save.

  3. In the Project overview tab, click Add API.

  4. In the Add an API window, select AEM Brand Portal and click Next.

    Ensure that you have access to the AEM Brand Portal service.

  5. In the Configure API window, click Upload your public key. Then, click Select a File and upload the public key (.crt file) that you have downloaded in the obtain public certificate section.

    Click Next.

    Upload Public Key

  6. Verify the public key and click Next.

  7. Select Assets Brand Portal as the default product profile and click Save configured API.

    Select Product Profile

  8. Once the API is configured, you are redirected to the API overview page. From the left navigation under Credentials, click on the Service Account (JWT) option.

    NOTE

    You can view the credentials and perform actions such as generate JWT tokens, copy credential details, retrieve client secret, and so on.

  9. From the Client Credentials tab, copy the client ID.

    Click Retrieve Client Secret and copy the client secret.

    Service Account Credentials

  10. Navigate to the Generate JWT tab and copy the JWT Payload information.

You can now use the client ID (API key), client secret, and JWT payload to configure the IMS account in AEM Assets.

Configure IMS account

Ensure that you have performed the following steps:

Perform the following steps to configure the IMS account.

  1. Open the IMS Configuration and navigate to the Account tab. You kept the page open while obtaining the public certificate.

  2. Specify a Title for the IMS account.

    In the Authorization Server field, specify the URL: https://ims-na1.adobelogin.com/.

    Specify client ID in the API key field, Client Secret, and Payload (JWT payload) that you have copied while creating the service account (JWT) connection.

    Click Create.

    The IMS account is configured.

    IMS Account configuration

  3. Select the IMS account configuration and click Check Health.

    Click Check in the dialog box. On successful configuration, a message appears that the Token is retrieved successfully.

CAUTION

You must have only one IMS configuration.

Ensure that the IMS configuration passes the health check. If the configuration does not pass the health check, it is invalid. You must delete it and create a new, valid configuration.

Configure cloud service

Perform the following steps to configure the Brand Portal cloud service:

  1. Log in to your AEM Assets author instance.

  2. From the Tools Tools panel, navigate to Cloud Services > AEM Brand Portal.

  3. In the Brand Portal Configurations page, click Create.

  4. Specify a Title for the configuration.

    Select the IMS configuration that you have created while configuring the IMS account.

    In the Service URL field, specify your Brand Portal tenant (organization) URL.

  5. Click Save & Close. The cloud configuration is created.

    Your AEM Assets author instance is now configured with the Brand Portal tenant.

Test configuration

Perform the following steps to validate the configuration:

  1. Log in to your AEM Assets cloud instance.

  2. From the Tools Tools panel, navigate to Deployment > Replication.

  3. In the Replication page, click Agents on author.

    You can see the four replication agents created for your Brand Portal tenant.

    Locate the replication agents of your Brand Portal tenant and click on the replication agent URL.

    NOTE

    The replication agents work in parallel and share the job distribution equally, thereby increasing the publishing speed by four times the original speed. After the cloud service is configured, additional configuration is not required to enable the replication agents that are activated by default to enable parallel publishing of multiple assets.

  4. To verify the connection between AEM Assets and Brand Portal, click on the Test Connection icon.

    A message appears that your test package is successfully delivered.

  5. Verify the test results on all four replication agents.

    NOTE

    Avoid disabling any of the replication agents, as it can cause the replication of the assets (running-in-queue) to fail.

    Ensure that all the four replication agents are configured to avoid timeout error. See troubleshoot issues in parallel publishing to Brand Portal.

    Do not modify any autogenerated settings.

You can now:

See Brand Portal documentation for more information.

Upgrade configuration

Perform the following steps in the listed sequence to upgrade your existing configurations to Adobe Developer Console:

  1. Verify running jobs
  2. Delete existing configurations
  3. Create configuration

Verify running jobs

Ensure that no publishing job is running on your AEM Assets author instance before you make any modifications. For that, you can verify the status of active jobs on all the four replication agents and ensure that the queues are idle.

  1. Log in to your AEM Assets author instance.

  2. From the Tools Tools panel, navigate to Deployment > Deployment Replication.

  3. In the Replication page, click Agents on author.

  4. Locate the replication agents of your Brand Portal tenant.

    Ensure that the Queue is Idle for all the replication agents, no publishing job is active.

Delete existing configurations

You must run the following checklist while deleting the existing configurations:

  • Delete all four replication agents
  • Delete Brand Portal cloud service
  • Delete MAC user
  1. Log in to your AEM Assets author instance and open CRX Lite as an administrator. The default URL is http://localhost:4502/crx/de/index.jsp.

  2. Navigate to /etc/replications/agents.author and delete all the four replication agents of your Brand Portal tenant.

  3. Navigate to /etc/cloudservices/mediaportal and delete the Brand Portal cloud service configuration.

  4. Navigate to /home/users/mac and delete the MAC user of your Brand Portal tenant.

You can now create configuration via Adobe Developer Console on your AEM 6.5 author instance.

On this page