Install Adobe Commerce Admin UI SDK
This topic describes the basic steps to install the Admin UI SDK.
Prerequisites
Adobe Commerce
- Adobe Commerce on cloud infrastructure or on premises: 2.4.5+
- PHP 8.1+
- Adobe Identity Management Service (IMS) for Adobe Commerce
Magento Open Source is not supported.
Adobe App Builder
The Adobe App Builder Getting Started guide lists the latest software requirements for creating App Builder apps.
Installation steps
You can install the Admin UI SDK on Adobe Commerce on cloud infrastructure and on-premises instances.
Enable Adobe IMS for Commerce
You must implement Adobe Identity Management Service (IMS) for Adobe Commerce to use the Admin UI SDK. Configure the Commerce Admin Integration with Adobe ID describes this process.
Adobe Commerce on cloud infrastructure
This method installs the SDK on a cloud instance.
On your local workstation, change to the Cloud project root directory.
Update your
composer.json
file:Copied to your clipboardcomposer require "magento/commerce-backend-sdk": ">=1.0"Update dependencies and install the extension:
Copied to your clipboardcomposer updateThe
composer update
command updates all dependencies. If you do not want to update all dependencies at the same time, use this command instead:Copied to your clipboardcomposer update magento/commerce-backend-sdkCommit and push your changes.
On-premises
This method installs the SDK on an On-premises instance.
Add the SDK module to the
require
section of thecomposer.json
file:Copied to your clipboardcomposer require "magento/commerce-backend-sdk": ">=1.0"Update dependencies and install the extension:
Copied to your clipboardcomposer updateThe
composer update
command updates all dependencies. If you do not want to update all dependencies at the same time, use this command instead:Copied to your clipboardcomposer update magento/commerce-backend-sdkUpgrade Adobe Commerce:
Copied to your clipboardbin/magento setup:upgradeRefresh indexes:
Copied to your clipboardbin/magento indexer:reindexClear the cache:
Copied to your clipboardbin/magento cache:cleanCommit your changes.
Update your on-premises instance to ensure the committed code is deployed.
Update the Commerce Admin UI SDK
Use the following procedure to update patch versions of the SDK, such as from V1.0.0 to V1.1.0.
Run the following command to update the SDK:
Copied to your clipboardcomposer update magento/commerce-backend-sdkRun the following commands to upgrade Adobe Commerce and clear the cache.
Copied to your clipboardbin/magento setup:upgrade && bin/magento indexer:reindex && bin/magento cache:cleanIf you are updating from V1.x to V2.0, refer to Migrate your extension point for additional instructions.