Install Adobe I/O Events for Adobe Commerce
Adobe I/O Events for Adobe Commerce requires Adobe Commerce 2.4.4 or higher.
Magento Open Source is not supported.
After you have created an App Builder project, you must install the Commerce modules that enable integrations with Adobe I/O Events.
Install Adobe I/O modules on Commerce
The following steps apply to both Adobe Commerce on cloud infrastructure and on-premises installations. Cloud customers must perform additional steps to configure the ece-tools
package.
If you are running Commerce 2.4.4 or 2.4.5, use the following command to load the eventing modules:
Copied to your clipboardcomposer require magento/commerce-eventing=^1.0 --no-updateCommerce 2.4.6 and later loads these modules automatically.
Update the project dependencies.
Copied to your clipboardcomposer updateEnable the new modules:
Copied to your clipboardbin/magento module:enable Magento_AdobeCommerceEventsClient Magento_AdobeCommerceEventsGenerator Magento_AdobeIoEventsClient Magento_AdobeCommerceOutOfProcessExtensibility
On-premise installation
Run the following command to initialize the
AdobeCommerceEvents
module. This module consists of generated plugins based on a list of subscribed events and helps publish and process events.Copied to your clipboardbin/magento events:generate:moduleEnable the generated module:
Copied to your clipboardbin/magento module:enable Magento_AdobeCommerceEventsUpgrade your instance:
Copied to your clipboardbin/magento setup:upgradeCompile your instance to generate new classes:
Copied to your clipboardbin/magento setup:di:compile
Cloud configuration
Use the following steps to perform additional configuration for Adobe Commerce on cloud infrastructure:
Add the
app/etc/config.php
file to your working repository:Copied to your clipboardgit add app/etc/config.phpRun the
composer info magento/ece-tools
command to determine your version of ece-tools. If the version is less than2002.1.13
, update to the most recent version.Enable eventing in the
.magento.env.yaml
file:Copied to your clipboardstage:global:ENABLE_EVENTING: trueCommit and push updated files to the Cloud environment.
Update Adobe I/O Events for Adobe Commerce
Use the following procedure to update minor or patch versions of Adobe I/O Events for Adobe Commerce, such as from V1.3.0 to V1.4.0.
On-premise updates
Run the following command to update the eventing modules:
Copied to your clipboardcomposer update magento/commerce-eventing --with-dependenciesUpgrade Commerce:
Copied to your clipboardbin/magento setup:upgradeClear the cache:
Copied to your clipboardbin/magento cache:cleanCompile the dependencies:
Copied to your clipboardbin/magento setup:di:compile
Cloud updates
Run the following command to update the eventing modules. ECE tools performs the other steps required by on-premises installations.
Copied to your clipboardcomposer update magento/commerce-eventing --with-dependencies