Getting started
To begin using the checkout starter kit, ensure that your Adobe Commerce installation meets the following prerequisites and then proceed with the installation and configuration.
Prerequisites
You must install or have access to the following prerequisites to develop with the Adobe Commerce checkout starter kit:
-
Adobe Commerce as a Cloud Service or Adobe Commerce version
2.4.5or higher. -
Node.js version 22. If you have Node Version Manager (
nvm) installed, you can run the following command to install and use the required version:nvm install 22 && nvm use -
Access to the Adobe Developer Console with an App Builder license. If you do not have access to the Adobe Developer Console or App Builder, refer to get access to App Builder.
-
If you intend to use the Admin UI SDK (version
3.0and higher), you must also complete the Admin UI SDK installation process.
data-variant=help
data-slots=text1, text2
composer require "magento/commerce-backend-sdk": ">=3.0"
Initial configuration
Use the following steps to configure your local environment:
-
Create a folder for your project and navigate to it.
mkdir <your-project-name> && cd <your-project-name> -
Execute the following command to create an Adobe Developer Console project in your organization and using the Commerce checkout starter kit as a template:
aio app init --repo adobe/commerce-checkout-starter-kit --github-pat $GITHUB_PATReplace
$GITHUB_PATwith your GitHub personal access token. For more information, refer to managing your personal access tokens. -
You can create an app builder project, or select the existing one, while initializing the starter kit. The created project can be found in the Adobe Developer Console.
? Select Org: <your-ims-org> ? Select a Project, or press + to create new: ? > do you wish to create a new Project? Yes Enter Project details: ? Name: <your-project-name> ? Title: <your-project-title> ? Description: <your-project-description>This creates a new project using App Builder as a template, including runtime environment with each workspace.
-
The starter kit requires you to add the following services in the console project:
- I/O Management API
- I/O Events
- Adobe I/O Events for Adobe Commerce
- SaaS Only Adobe Commerce as a Cloud Service. When asked to select a product profile, choose Default - Cloud Manager. If this option is not displayed, make sure you have developer permissions to Adobe Commerce as a Cloud Service - Backend - Commerce Cloud Manager.
Execute the following command to add the services by selecting them from the list:
aio app add serviceThe variable
AIO_ims_contexts_{credential}_scopeswill be automatically populated but may need to be updated with the scopes required for your project. The scopes depend on the services you selected in the previous step. If you included all the specified services, the set of scopes should look like this:-
["AdobeID","openid","read_organizations","additional_info.projectedProductContext","additional_info.roles","adobeio_api","read_client_secret","manage_client_secrets","event_receiver_api"] -
["AdobeID","openid","read_organizations","additional_info.projectedProductContext","additional_info.roles","adobeio_api","read_client_secret","manage_client_secrets","event_receiver_api","profile","email","org.read","commerce.accs"]
-
Copy the environment variables from the
env.distto a local.envfile and enter the required values.
After completing the previous steps you can:
- Connect to Adobe Commerce
- Configure the available scripts
- Deploy your initial project in App Builder
Install Commerce modules
data-src=/_includes/checkout-version.md
Install the individual modules
To install the individual modules, refer to the following topics:
Install the Commerce Eventing module (Commerce 2.4.5 only)
The Commerce Eventing module is crucial for handling events within Adobe Commerce. The eventing module is installed automatically in Adobe Commerce version 2.4.6 and higher.
This starter kit requires the Commerce Eventing module version 1.12.1 or higher, which introduces support for multi-event-provider functionality. It allows multiple App Builder extensions to connect to the same Adobe Commerce instance using isolated event providers.
To view your installed version, run the following command:
composer show magento/commerce-eventing
To install this module, run the following command using Composer:
composer update magento/commerce-eventing --with-dependencies
For Adobe Commerce versions 2.4.5, you must install the Adobe I/O Events for Adobe Commerce module manually. Follow the instructions provided in Adobe I/O Events installation.