Configure AEM Assets with Brand Portal configure-integration-65
Adobe Experience Manager Assets Brand Portal lets you 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.
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 a configuration by way of the 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 a configuration by way of 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 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 the latest AEM Service Pack
Download and install AEM 6.5 aemquickstart
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:
-
If you are an existing AEM customer, download AEM 6.5 from the Adobe Licensing website.
-
If you are an Adobe partner, use the Adobe Partner Training Program to request AEM 6.5.
After you download AEM, for instructions to set up an AEM Author instance, see deploying and maintaining.
Download and install AEM latest Service Pack servicepack
For detailed instructions, see the current AEM 6.5 Service Pack Release Notes.
Contact Adobe Customer Support if you cannot find the latest AEM package or Service Pack.
Create configuration configure-new-integration-65
Configuring AEM Assets with Brand Portal requires configurations in both AEM Assets Author instance and the Adobe Developer Console.
- In AEM Assets, create an IMS account and generate a public certificate (public key).
- 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 (JWT) connection.
- Get the service account credentials and JWT payload information.
- In AEM Assets, configure the IMS account using the service account credentials and JWT payload.
- In AEM 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 AEM Assets to Brand Portal.
Perform the following steps in the listed sequence if you are configuring AEM Assets with Brand Portal for the first time:
Create IMS 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 public-certificate
The public key (certificate) authenticates your profile on Adobe Developer Console.
-
Log in to your AEM Assets Author instance. The default URL is
http://localhost:4502/aem/start.html
. -
From the Tools panel, navigate to Security > Adobe IMS Configurations.
-
In the Adobe IMS Configurations page, click Create. It redirects to the Adobe IMS Technical Account Configuration page. By default, the Certificate tab opens.
-
Select Adobe Brand Portal in the Cloud Solution dropdown list.
-
Select the Create new certificate check box and specify an alias for the public key. The alias serves as the 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 the API for your Brand Portal tenant and generate service account credentials in Adobe Developer Console.
-
Click Next.
In the Account tab, an 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 so you can get the credentials and JWT payload for configuring the IMS account.
Create the service account (JWT) connection createnewintegration
In Adobe Developer Console, projects and APIs are configured at the Brand Portal tenant (organization) level. Configuring an API creates a service account (JWT) connection. There are two methods to configure the 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.
To create the service account credentials and JWT payload, do the following:
-
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 note NOTE Ensure that you have selected the correct IMS organization (Brand Portal tenant) from the drop-down (organization) list in the upper-right corner. -
Click Create new project. A blank project with a system-generated name is created for your organization.
Click Edit project so you can 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 AEM 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, and retrieve client secret. -
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 AEM Assets.
Configure the IMS account create-ims-account-configuration
Ensure that you have already performed 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 the Brand Portal cloud service configure-the-cloud-service
-
Log in to your AEM Assets Author instance.
-
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 have 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 AEM Assets Author instance is now configured with the Brand Portal tenant.
Test and validate the configuration test-integration
-
Log in to your AEM Assets cloud instance.
-
From the Tools panel, navigate to Deployment > Replication.
-
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 the replication agent URL.
note note NOTE The replication agents work in parallel and share the job distribution equally, so that it increases 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. -
To verify the connection between AEM Assets and Brand Portal, click the Test Connection icon.
A message appears that your test package is successfully delivered.
-
Verify the test results on all four replication agents.
note note 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:
- Publish assets from AEM Assets to Brand Portal
- Publish assets from Brand Portal to AEM Assets - Asset Sourcing in Brand Portal
- Publish folders from AEM Assets to Brand Portal
- Publish collections from AEM Assets to Brand Portal
- Publish presets, schemas, and facets to Brand Portal
- Publish tags to Brand Portal
See the Brand Portal documentation for more information.
Upgrade configuration upgrade-integration-65
To upgrade your existing configurations to Adobe Developer Console, do the following steps, in the listed sequence :
Verify running jobs verify-jobs
Ensure that no publishing job is running on your AEM Assets Author instance before you make any edits. For that, you can verify the status of active jobs on all the four replication agents and ensure that the queues are idle.
-
Log in to your AEM Assets Author instance.
-
From the Tools panel, navigate to Deployment > Deployment Replication.
-
In the Replication page, click Agents on Author.
-
Locate the replication agents of your Brand Portal tenant.
Ensure that the Queue is Idle for all the replication agents, and no publishing job is active.
Delete existing configurations delete-existing-configuration
Run the following checklist while deleting the existing configurations:
- Delete all four replication agents
- Delete Brand Portal cloud service
- Delete Mac user
-
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
. -
Navigate to
/etc/replications/agents.author
and delete all the four replication agents of your Brand Portal tenant. -
Navigate to
/etc/cloudservices/mediaportal
and delete the Brand Portal cloud service configuration. -
Navigate to
/home/users/mac
and delete the Mac user of your Brand Portal tenant.
You can now create a configuration by way of the Adobe Developer Console on your AEM 6.5 Author instance.