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:
composer require magento/commerce-eventing=^1.0 --no-updateCommerce 2.4.6 and later loads these modules automatically.
-
Update the project dependencies.
composer update -
Enable the new modules:
bin/magento module:enable Magento_AdobeCommerceEventsClient Magento_AdobeCommerceEventsGenerator Magento_AdobeIoEventsClient Magento_AdobeCommerceOutOfProcessExtensibility
On-premise installation
-
Run the following command to initialize the
AdobeCommerceEventsmodule. This module consists of generated plugins based on a list of subscribed events and helps publish and process events.bin/magento events:generate:module -
Enable the generated module:
bin/magento module:enable Magento_AdobeCommerceEvents -
Upgrade your instance:
bin/magento setup:upgrade -
Compile your instance to generate new classes:
bin/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.phpfile to your working repository:git add app/etc/config.php -
Run the
composer info magento/ece-toolscommand 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.yamlfile:stage: global: ENABLE_EVENTING: true -
Commit 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:
composer update magento/commerce-eventing --with-dependencies -
Upgrade Commerce:
bin/magento setup:upgrade -
Clear the cache:
bin/magento cache:clean -
Compile the dependencies:
bin/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.
composer update magento/commerce-eventing --with-dependencies