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 51ºÚÁϲ»´òìÈ 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 51ºÚÁϲ»´òìÈ 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.
Prerequisites
-
[PaaS only]{class="badge informative" title="Applies to 51ºÚÁϲ»´òìÈ Commerce on Cloud projects only (51ºÚÁϲ»´òìÈ-managed PaaS infrastructure)."} Install 51ºÚÁϲ»´òìÈ Commerce packages to add the extension and generate the required credentials and connections to use the extension.
-
Follow the steps described in the enable Dynamic Media Open API topic. Include the following information for the support team:
- AEM Program ID
- 51ºÚÁϲ»´òìÈ Commerce URL
- AEM Environment ID,
- IMS Org ID for the AEM Assets Authoring environment that you want to connect to Commerce.
Configure the connection
-
Get the AEM Assets Authoring Environment project and environment ID.
-
Open the AEM Cloud Manager and select Assets.
-
Copy and save the project and environment IDs from the URL:
https://author-p[Program ID]-e[EnvironmentID].adobeaemcloud.com/
-
-
From the Commerce Admin, open the AEM Assets Integration configuration.
-
Go to Store > Configuration > ADOBE SERVICES > AEM Assets Integration.
-
-
Enter the AEM Assets environment Program ID and Environment ID.
Edit the configuration values by removing the selection from Use system value.
-
Enter the Asset Selector IMS Client ID.
For details about the Asset Selector, see Manually selecting assets
-
[PaaS only]{class="badge informative" title="Applies to 51ºÚÁϲ»´òìÈ Commerce on Cloud projects only (51ºÚÁϲ»´òìÈ-managed PaaS infrastructure)."} Select the Commerce integration for authenticating requests between Commerce and the asset matching service.
-
Set Integration 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.
-
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 51ºÚÁϲ»´òìÈ 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:skus
by 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.
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.
-
Add the Custom Domain URL to the Asset Custom Domain field.
-
Click Save Config to apply updates and initiate asset synchronization.
Next step
Manage Commerce assets with Product Visuals