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. See Custom automatic matching.
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.
-
User permissions and IMS—Configure the required permissions for the Asset Selector, AEM environment selection, and domain mapping.
Configure the connection
- From the Commerce Admin, go to Stores > Settings > Configuration > ADOBE SERVICES > AEM Assets Integration.
-
[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. See User permissions and IMS to obtain this ID. For details about the Asset Selector, see Manually selecting assets.
-
From AEM Environment, select the environment configured in Configure the AEM Assets project.
The list includes AEM environments for which your user has an Author or Delivery product profile. If the expected environment is missing, review User permissions and IMS.
If your configuration displays separate Program ID and Environment ID fields instead, specify the identifiers for that environment. For manual entry, copy them from AEM Cloud Manager, or derive them from your author URL:
https://author-p<ProgramID>-e<EnvironmentID>.adobeaemcloud.com/. Enter only the numeric identifiers, without thepandeprefixes.For fields with a Use system value checkbox, clear it before overriding the default value.
-
Check AEM Domain Mapping. Available domains are loaded automatically based on the selected AEM environment. If your project uses a custom asset-delivery domain, follow Configure the Custom Domain URL.
-
[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 product SKU for default automatic matching.
- Select Custom match for custom automatic matching. This option requires Adobe Developer App Builder.
-
For Match by product SKU, enter the AEM Assets metadata property name in the Match by product SKU attribute name field. The default is
commerce:skus.Enter the property name, not a product SKU value. Add the actual product SKUs to each asset’s Product Data metadata in AEM Assets, as described in Default automatic matching.
-
Review the Visualization Owner setting. During migration, retain Adobe Commerce ownership until asset synchronization completes.
-
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 service level agreement (SLA) for the integration guarantees the following synchronization performance levels:
-
< 5 minutes for 99% of updates -
< 30 minutes for 99.9% of updates
This level of service ensures that product pages always display the most up-to-date images, keeping storefront content accurate and visually appealing.
Synchronize localized alt text
Localized alt text uses the existing asset synchronization process. You do not need a new event type or a separate synchronization configuration.
-
Add one or more store-view alt-text rows in the AEM asset’s Commerce tab.
-
Associate the asset with the Commerce product SKU.
-
Approve the asset in AEM Assets.
-
Wait for the asset event and synchronization process to complete.
-
Verify the localized value in Commerce Admin and in the storefront response.
For the field names, validation rules, and Commerce result, see Commerce metadata in AEM Assets.
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 Stores > Settings > Configuration > ADOBE SERVICES > AEM Assets Integration.
{width="700" modal="regular"}
-
Select the Visualization Owner source to display the images.
-
Click Save Config to apply updates.
Before switching to AEM Assets, verify that the assets are associated with the expected products. Then configure your storefront to display AEM Assets product images.
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.
Obtain the configured asset-delivery custom domain URL from your AEM administrator. This setting replaces the AEM delivery URL; it is not the AEM author URL used to identify the Program ID and Environment ID. If your project does not use a custom domain, leave the domain mapping unchanged.
-
Navigate to Stores > Settings > Configuration > ADOBE SERVICES > AEM Assets Integration.
-
Confirm the selected AEM Environment, then select the configured custom domain from AEM Domain Mapping. Available domains are loaded automatically for the selected environment.
For configurations that display an Asset Custom Domain text field instead, enter the custom domain URL in that field.
- Click Save Config to apply updates.
Verify the integration
-
Choose an existing Commerce product and note its SKU.
-
In AEM Assets, mark a test asset as Eligible for Commerce, associate it with that product SKU, and set its role and position. Approve the asset. See Default automatic matching, or use your configured custom matching rule.
-
After synchronization completes, open the product in Commerce Admin and check its Images And Videos section for the associated asset, role, and position. See Manage assets.
-
Review Sync Status for the asset’s synchronization result. If synchronization fails, review the Error column.
-
After selecting AEM Assets as the Visualization Owner and completing the storefront configuration, open the product on the storefront and confirm that the expected image appears.
[PaaS only]{class="badge informative" title="Applies to Adobe Commerce on Cloud projects only (Adobe-managed PaaS infrastructure)."} For additional synchronization troubleshooting, review the integration logs.
Next step
-
Configure your Commerce Storefront to display product images from AEM Assets with Edge Delivery Services.
-
Set up matching rules between Adobe Commerce and the AEM Assets integration.