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:

Configure the connection

AEM Assets Integration configuration with example environment and domain values {width="900" modal="regular"}

  1. From the Commerce Admin, go to Stores > Settings > Configuration > ADOBE SERVICES > AEM Assets Integration.
INFO
The AEM Assets integration only supports configuration at the global (default) scope. Website-level configuration is not supported. When you attempt to configure the integration at the Website level, the system ignores website-level settings and uses the global configuration values instead.
  1. [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.

  2. 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 the p and e prefixes.

    For fields with a Use system value checkbox, clear it before overriding the default value.

  3. 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.

  4. [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.

  5. Set Synchronization enabled to Yes to allow Commerce to accept incoming updates from AEM Assets.

    After enabling the integration, additional configuration options are available to specify asset matching criteria.

  6. Select one of the asset matching rules for asset synchronization from the Asset matching rule dropdown.

  7. 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.

  8. Review the Visualization Owner setting. During migration, retain Adobe Commerce ownership until asset synchronization completes.

  9. 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.

  1. Add one or more store-view alt-text rows in the AEM asset’s Commerce tab.

  2. Associate the asset with the Commerce product SKU.

  3. Approve the asset in AEM Assets.

  4. Wait for the asset event and synchronization process to complete.

  5. 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.

TIP
During a migration from Commerce to AEM Assets, set the Visualization Owner to Commerce to avoid broken image links. After all the products have been successfully synchronized with AEM Assets, switch to the AEM Assets owner to complete the transition. This ensures continuous image availability throughout the process.
  1. Navigate to Stores > Settings > Configuration > ADOBE SERVICES > AEM Assets Integration.

    Visualization Owner set to AEM Assets {width="700" modal="regular"}

  2. Select the Visualization Owner source to display the images.

  3. 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.

NOTE
Configuring a custom domain URL does not update the URLs of previously synchronized assets. These assets retain their previous URLs until they are reprocessed in AEM Assets. After saving the custom domain configuration, reprocess these assets to update their URLs to use the custom domain.
  1. Navigate to Stores > Settings > Configuration > ADOBE SERVICES > AEM Assets Integration.

  2. Confirm the selected AEM Environment, then select the configured custom domain from AEM Domain Mapping. Available domains are loaded automatically for the selected environment.

AEM environment and domain selectors with example values {width="700" modal="regular"}

For configurations that display an Asset Custom Domain text field instead, enter the custom domain URL in that field.

  1. Click Save Config to apply updates.

Verify the integration

NOTE
Sync Status is not available for Adobe Commerce Optimizer. Follow the Commerce Optimizer verification workflow instead of the Commerce Admin checks below.
  1. Choose an existing Commerce product and note its SKU.

  2. 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.

  3. 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.

  4. Review Sync Status for the asset’s synchronization result. If synchronization fails, review the Error column.

  5. 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

recommendation-more-help
commerce-help-aem-assets-integration