Configure the integration
Configure the integration by connecting Commerce to the AEM Assets instance and selecting the matching strategy for asset synchronization.
After identifying the AEM Assets project, select the matching rule for synchronizing assets between Adobe Commerce and AEM Assets.
-
Match by product SKU—Default rule that matches the SKU in the asset metadata with the Commerce product SKU to ensure that assets are associated with the correct products.
-
Custom match—Matching rule for more complex scenarios or specific business requirements that require custom matching logic. Implementing custom matching requires developing custom code in Adobe Developer App Builder to define how assets are matched with products. More details coming soon…
For the initial setup, use the default Match by product sku rule.
Requirements
Before configuring the AEM Assets Integration, verify that you have completed the following steps:
-
[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects only (Adobe-managed PaaS infrastructure)."} Install Adobe Commerce packages to add the extension and generate the required credentials and connections to use the extension.
IMS and user permissions
To use the Asset Selector and provide a smoother setup in Commerce, the following permissions are required:
[SaaS only]{class="badge positive" title="Applies to Adobe Commerce as a Cloud Service and Adobe Commerce Optimizer projects only (Adobe-managed SaaS infrastructure)."}
IMS authentication is enabled by default. Add the user to the AEM Assets DM OpenAPI Users - delivery product profile in the Adobe Admin Console to grant access to the AEM Assets delivery layer.
[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects only (Adobe-managed PaaS infrastructure)."}
-
Enable Adobe IMS for Commerce by following the instructions in the Commerce Admin Guide.
-
Open a Support ticket to request a custom IMS Client ID for the Asset Selector.
-
Add the user to the AEM Assets DM OpenAPI Users - delivery product profile in the Adobe Admin Console to grant access to the AEM Assets delivery layer.
Configure the connection
-
From the Commerce Admin, open the AEM Assets Integration configuration.
-
Go to Store > Configuration > ADOBE SERVICES > AEM Assets Integration.
{width="600" modal="regular"}
-
-
[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects only (Adobe-managed PaaS infrastructure)."} Enter the Asset Selector IMS Client ID.
This ID is required to enable the Asset Selector and auto-populate feature for the Program ID and Environment ID fields. See IMS and user permissions to obtain this ID. For details about the Asset Selector, see Manually selecting assets.
-
Select the AEM Assets environment Program ID and Environment ID from the dropdown menus.
The dropdowns auto-populate based on the user’s IMS session. To use this feature, ensure you have the right IMS and user permissions.
If the dropdowns are not available, you can manually enter the IDs from the AEM Cloud Manager URL:
https://author-p[Program ID]-e[EnvironmentID].adobeaemcloud.com/Edit the configuration values by removing the selection from Use system value.
-
[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects only (Adobe-managed PaaS infrastructure)."} Select the Commerce integration for authenticating requests between Commerce and the asset matching service.
-
Set Synchronization enabled to
Yesto allow Commerce to accept incoming updates from AEM Assets.After enabling the integration, additional configuration options are available to specify asset matching criteria.
-
Select one of the asset matching rules for asset synchronization from the Asset matching rule dropdown.
- Select Match by SKU for default automatic matching,
- Select Custom match for custom automatic matching (requires Adobe Developer App Builder.)
-
Add the AEM Assets metadata field name defined for Commerce product SKUs in the Match by product SKU attribute name field,
commerce:skusby default. -
Select Save Config to apply updates and initiate asset synchronization.
The configuration update triggers the initial synchronization process, allowing Commerce to accept incoming updates from AEM Assets. The time required for synchronization depends on the volume of assets and specific configurations. The integration leverages automated processes to minimize the time required for synchronization.
Synchronization SLA
The integration guarantees the following synchronization performance levels:
-
< 5 minutes for 99% of updates -
< 30 minutes for 99.9% of updates
This ensures that product pages always display the most up-to-date images, keeping storefront content accurate and visually appealing.
Configure the Visualization Owner
The Visualization Owner setting determines which system serves product images in the integration:
-
Adobe Commerce – Uses images hosted in Commerce.
-
AEM Assets – Uses images synchronized from AEM.
The Admin displays the available images for that owner, while the rest of the images are grayed out and displayed with a hidden label.
See the set image details topic for details on image display behavior.
-
Navigate to Store > Configuration > ADOBE SERVICES > AEM Assets Integration.
{width="400" modal="regular"}
-
Select the Visualization Owner source to display the images.
-
Click Save Config to apply updates and initiate asset synchronization.
Optional. Configure the Custom Domain URL
If the AEM Assets as a Cloud Service project has been configured with a Custom Domain Name, you must add the domain name to the Commerce store configuration so that the AEM Assets integration for Commerce can use it.
-
Navigate to Store > Configuration > ADOBE SERVICES > AEM Assets Integration.
{width="700" modal="regular"}
-
Add the Custom Domain URL to the Asset Custom Domain field.
-
Click Save Config to apply updates and initiate asset synchronization.
Next step
-
Configure your Commerce Storefront—To use AEM Assets with the Commerce Storefront powered by Edge Delivery Services, complete the storefront configuration described in the AEM Assets integration topic in the Adobe Commerce Storefront documentation.
-
Set up matching rules between Adobe Commerce and the AEM Assets integration.