Configure Experience Manager Assets with Brand Portal configure-aem-assets-with-brand-portal
Configuring Adobe Experience Manager Assets Brand Portal lets you publish approved brand assets from Adobe Experience Manager Assets as a Cloud Service instance to Brand Portal and distribute them to the Brand Portal users.
Activate Brand Portal using Cloud Manager activate-brand-portal
The Cloud Manager user activates Brand Portal for an Experience Manager Assets as a Cloud Service instance. The activation workflow creates the required configurations (authorization token, IMS configuration, and Brand Portal cloud service) at the backend and reflects the status of the Brand Portal tenant in Cloud Manager. Activating Brand Portal enables the Experience Manager Assets users to publish assets to Brand Portal and distribute them to the Brand Portal users.
Prerequisites
You require the following to activate Brand Portal on your Experience Manager Assets as a Cloud Service instance:
- An up and running Experience Manager Assets as a Cloud Service instance.
- A user having access to Cloud Manager, assigned to Profiles of the Cloud Manager Product. See accessing Cloud Manager for more information.
Steps to activate Brand Portal
You can activate Brand Portal while creating the production environments for your Experience Manager Assets as a Cloud Service instance, or separately. Let us assume that the environment was already created, and you are now required to activate Brand Portal.
-
Login to Adobe Cloud Manager and navigate to Environments.
The Environments page displays the list of all the existing environments.
-
Select the environments (one by one) from the list to view the environment details.
Brand Portal is entitled to one of the available environments and is reflected under the Environment Information.
Once you find the environment associated with Brand Portal, click the Activate Brand Portal button to begin the activation workflow.
-
It takes few mins to activate the Brand Portal tenant as the activation workflow creates the required configurations at the backend. Once the Brand Portal tenant is activated, the status changes to Activated.
org2-new
. Although the manually configured cloud configuration on org1-existing
is visible in the Experience Manager Assets author instance but will no longer be in use after activating Brand Portal from the Cloud Manager.See also:
Login to your Brand Portal tenant:
After activation of your Brand Portal tenant in Cloud Manager, you can login to Brand Portal from Admin Console or by directly using the tenant URL.
The default URL of your Brand Portal tenant is: https://<tenant-id>.brand-portal.adobe.com/
.
Wherein, the Tenant id is the IMS org.
Perform the following steps if you are not sure of the Brand Portal URL:
-
Login to Admin Console and navigate to Products.
-
From the left panel, select Adobe Experience Manager Brand Portal – Brand Portal.
-
Click Go to Brand Portal to directly open Brand Portal in the browser.
Or copy the Brand Portal tenant URL from the Go to Brand Portal link and paste it in your browser to open the Brand Portal interface.
Test connection
Perform the following steps to validate the connection between your Experience Manager Assets as a Cloud Service instance and Brand Portal tenant:
-
Login to Experience Manager Assets.
-
From the Tools panel, navigate to Deployment > Distribution.
A Brand Portal distribution agent (bpdistributionagent0) is created under Publish to Brand Portal.
-
Click Publish to Brand Portal to open the distribution agent.
You can see the distribution queues under the Status tab.
A distribution agent contains two queues:
-
processing-queue: for the distribution of assets to Brand Portal.
-
error-queue: for the assets where distribution has failed.
note note NOTE It is recommended to review the failures and clear the error-queue periodically. -
-
To verify the connection between Experience Manager Assets as a Cloud Service and Brand Portal, click the Test Connection icon.
A message appears that your test package is successfully delivered.
note note NOTE Avoid disabling the distribution agent, as it can cause the distribution of the assets (running-in-queue) to fail.
To verify the connection between your Experience Manager Assets as a Cloud Service instance and Brand Portal tenant, publish an asset from Experience Manager Assets to Brand Portal. If the connection is successful, the published asset is visible in the Brand Portal interface.
You can now:
- Publish assets from Experience Manager Assets to Brand Portal
- Publish folders from Experience Manager Assets to Brand Portal
- Publish collections from Experience Manager Assets to Brand Portal
- Publish assets from Brand Portal to Experience Manager Assets - Asset Sourcing in Brand Portal
- Publish presets, schemas, and facets to Brand Portal
- Publish tags to Brand Portal
See Brand Portal documentation for more information.
Distribution logs
You can monitor the distribution agent logs for the asset publishing workflow.
Let us now publish an asset from Experience Manager Assets to Brand Portal and see the logs.
-
Follow the steps (from 1 to 4) as shown in the Test connection section and navigate to the distribution agent page.
-
Click Logs to view the processing and error logs.
The distribution agent has generated the following logs:
- INFO: It is a system-generated log that triggers on successful configuration of the distribution agent.
- DSTRQ1 (Request 1): Triggers on test connection.
On publishing the asset, the following request and response logs are generated:
Distribution agent request:
- DSTRQ2 (Request 2): The asset publishing request is triggered.
- DSTRQ3 (Request 3): The system triggers another request to publish the Experience Manager Assets folder (in which the asset exists) and replicates the folder in Brand Portal.
Distribution agent response:
- queue-bpdistributionagent0 (DSTRQ2): The asset is published to Brand Portal.
- queue-bpdistributionagent0 (DSTRQ3): The system replicates the Experience Manager Assets folder (containing the asset) in Brand Portal.
In the above example, an additional request and response are triggered. The system could not find the parent folder (Add Path) in Brand Portal because the asset was published for the first time, therefore, it triggered an additional request to create a parent folder with the same name in Brand Portal where the asset is published.
Along with the automation workflow to activate Brand Portal on Experience Manager Assets as a Cloud Service, there exists another method to manually configure Experience Manager Assets as a Cloud Service with Brand Portal using Adobe Developer Console which is not recommended anymore.
Manual configuration using Adobe Developer Console manual-configuration
The following section describes how to manually configure Experience Manager Assets as a Cloud Service with Brand Portal using Adobe Developer Console.
Earlier, Experience Manager Assets as a Cloud Service was manually 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. It requires configurations in both, Experience Manager Assets and Adobe Developer Console.
- In Experience Manager Assets, create an IMS account and generate a public key (certificate).
- In Adobe Developer Console, create a project for your Brand Portal tenant (organization).
- Under the project, configure an API using the public key to create a service account connection.
- Get the service account credentials and JSON Web Token (JWT) payload information.
- In Experience Manager Assets, configure the IMS account using the service account credentials and JWT payload.
- In Experience Manager Assets, configure the Brand Portal cloud service using the IMS account and Brand Portal endpoint (organization URL).
- Test your configuration by publishing an asset from Experience Manager Assets to Brand Portal.
Prerequisites
You require the following to configure Experience Manager Assets with Brand Portal:
- An up and running Experience Manager Assets as a Cloud Service instance
- A Brand Portal tenant URL
- A user with system administrator privileges on the IMS organization of the Brand Portal tenant
Create configuration create-new-configuration
Perform the following steps in the specified sequence to configure Experience Manager Assets with Brand Portal.
Create IMS configuration create-ims-configuration
The IMS configuration authenticates your Experience Manager Assets as a Cloud Service instance with the Brand Portal tenant.
IMS configuration includes two steps:
Obtain public certificate public-certificate
The public key (certificate) authenticates your profile on Adobe Developer Console.
-
Login to Experience Manager Assets.
-
From the Tools panel, navigate to Security > Adobe IMS Configurations.
-
In Adobe IMS Configurations page, click Create. It will redirect to the Adobe IMS Technical Account Configuration page. By default, the Certificate tab opens.
-
Select Adobe Brand Portal in the Cloud Solution drop-down list.
-
Select the Create new certificate check box and specify an alias for the public key. The alias serves as name of the public key.
-
Click Create certificate. Then, click OK to generate the public key.
-
Click the Download Public Key icon and save the public key (CRT) file on your machine.
The public key is used later to configure API for your Brand Portal tenant and generate service account credentials in Adobe Developer Console.
-
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 createnewintegration
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 Experience Manager Assets with Brand Portal, you must generate a public key (certificate) in Experience Manager Assets and create credentials in Adobe Developer Console by uploading the public key. These credentials are required to configure the IMS account in Experience Manager Assets. Once the IMS account is configured, you can configure the Brand Portal cloud service in Experience Manager Assets.
Perform the following steps to generate the service account credentials and JWT payload:
-
Login 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 note NOTE Ensure that you have selected the correct IMS organization (Brand Portal tenant) from the drop-down (organization) list located at the upper-right corner. -
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.
-
In the Project overview tab, click Add API.
-
In the Add an API window, select AEM Brand Portal and click Next.
Ensure that you have access to the Experience Manager Brand Portal service.
-
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.
-
Verify the public key and click Next.
-
Select Assets Brand Portal as the default product profile and click Save configured API.
-
Once the API is configured, you are redirected to the API overview page. From the left navigation under Credentials, click the Service Account (JWT) option.
note note NOTE You can view the credentials and perform actions such as generate JWT tokens, copy credential details, retrieve client secret, and so on. -
From the Client Credentials tab, copy the client ID.
Click Retrieve Client Secret and copy the client secret.
-
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 Experience Manager Assets.
Configure IMS account create-ims-account-configuration
Ensure that you have performed the following steps:
Perform the following steps to configure the IMS account.
-
Open the IMS Configuration and navigate to the Account tab. You kept the page open while obtaining the public certificate.
-
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.
-
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.
Configure cloud service configure-the-cloud-service
Perform the following steps to configure the Brand Portal cloud service:
-
Login to Experience Manager Assets.
-
From the Tools panel, navigate to Cloud Services > AEM Brand Portal.
-
In the Brand Portal Configurations page, click Create.
-
Specify a Title for the configuration.
Select the IMS configuration that you created while configuring the IMS account.
In the Service URL field, specify your Brand Portal tenant (organization) URL.
-
Click Save & Close. The cloud configuration is created.
Your Experience Manager Assets as a Cloud Service instance is now configured with the Brand Portal tenant.
You can now test the configuration by checking the distribution agent and publishing assets to Brand Portal.
Allowlist Egress IPs in SPS if secure preview enabled
If using Dynamic Media-Scene7 with secure preview enabled for a company), then it is advised that Scene7 company administrator allowlist the public egress IPs for respective regions using SPS (Scene7 Publishing System) flash UI.
The egress IPs are as follows:
See also