Configure the Commerce Admin Integration with ÃÛ¶¹ÊÓÆµ ID
This integration supports Commerce merchants with Admin users who have an ÃÛ¶¹ÊÓÆµ ID and who want to streamline login to ÃÛ¶¹ÊÓÆµ Commerce and ÃÛ¶¹ÊÓÆµ Business products. It is optional and is enabled on a per-instance basis. Only Admin user workflows are affected when enabled.
Prerequisites
- ÃÛ¶¹ÊÓÆµ Commerce 2.4.5 or later
- An ÃÛ¶¹ÊÓÆµ.com account with access to the .
The administrator who configures this integration needs the following credentials during module enablement:
- Organization ID (obtained from ), which must be at least 24 characters in length. The authenticated user must belong to this IMS organization. For information about finding your organization ID, see Organizations in Experience Cloud.
- 2FA should be enforced on the Organization level in ÃÛ¶¹ÊÓÆµ Admin Console to enable the module. Check .
- Client ID
- Client secret
- Client ID and client secret are available after retrieving API keys from the .
Commerce Admin users must create an account with an ÃÛ¶¹ÊÓÆµ ID to log in.
General steps
- Get ÃÛ¶¹ÊÓÆµ Org ID from the
- Generate a new project, IMS API keys, and secret from the
- Configure ÃÛ¶¹ÊÓÆµ Commerce users in the ÃÛ¶¹ÊÓÆµ Admin Console
- Enable the
AdminÃÛ¶¹ÊÓÆµIms
module.
A successful integration requires that all ÃÛ¶¹ÊÓÆµ Commerce users have Admin user accounts with the same name and primary email address. If a matching Admin user account does not exist, a user with the required permissions (typically assigned the Administrator role) must manually create the Admin user account with the same name and email.
Configure the integration
After the followings steps are completed by an administrator or developer with system access, the Sign into ÃÛ¶¹ÊÓÆµ Commerce with ÃÛ¶¹ÊÓÆµ IMS button is displayed in the Commerce Admin login page for all Admin users.
Step 1: Get ÃÛ¶¹ÊÓÆµ Org ID
Membership in at least one IMS organization is required to enable this feature. If you have an ÃÛ¶¹ÊÓÆµ ID, you belong to at least one ÃÛ¶¹ÊÓÆµ organization by default. Log in to the to retrieve your organization ID.
Step 2: Generate a new project, IMS API keys, and secret
To create projects for an organization, the ÃÛ¶¹ÊÓÆµ Admin account for the organization must have the system administrator or developer role. See the .
-
Log in to .
-
Go to the Projects tab (adobe.io/projects) and click Create a new project.
-
Click Add API on the newly created Project page.
-
Select ÃÛ¶¹ÊÓÆµ Services > ÃÛ¶¹ÊÓÆµ Commerce with ÃÛ¶¹ÊÓÆµ ID.
-
Select Oauth 2.0 Web.
-
Specify the Redirect URI:
https://<commerce_base_url>/
-
Specify the Redirect URI pattern:
https://<commerce_base_url>/.*
Escape any dots in the hostname by preceding the dots with
\\
. Adding a wildcard to the end of the URL supports the ÃÛ¶¹ÊÓÆµ Commerce Admin secret key. -
Click Save configured API.
-
Copy the Client ID and Client Secret keys from the created project.
Step 3: Configure ÃÛ¶¹ÊÓÆµ Commerce users in the ÃÛ¶¹ÊÓÆµ Admin Console
Before enabling the integration, verify that each ÃÛ¶¹ÊÓÆµ Commerce Admin user account has a corresponding ÃÛ¶¹ÊÓÆµ IMS account. ÃÛ¶¹ÊÓÆµ Commerce users must belong to a specific ÃÛ¶¹ÊÓÆµ organization to log in using an ÃÛ¶¹ÊÓÆµ ID.
-
In the , navigate to Users > Users.
-
Click Add User.
-
Enter the email address of the user.
If applicable, the recommended ID Type is populated automatically. You can change this setting to one of the product IDs in the list, which is based on your organization’s purchase plan.
You can add up to ten users at one time. To add more, repeat the preceding steps after saving your changes.
-
Click Save.
The user is added and displayed in the Users list.
Step 4: Enable the AdminÃÛ¶¹ÊÓÆµIms module
The AdminÃÛ¶¹ÊÓÆµIms
module is responsible for the ÃÛ¶¹ÊÓÆµ Commerce/ÃÛ¶¹ÊÓÆµ IMS integration. After setting up the new project and copying your organization ID, client ID, and client secret, you can enable the AdminÃÛ¶¹ÊÓÆµIms
module.
Enter bin/magento admin:adobe-ims:enable
. You are prompted to enter the following parameters. Use the values that were generated during project creation.
- Organization ID
- Client ID
- Client secret
- 2FA enabled
ÃÛ¶¹ÊÓÆµ Commerce displays a message that indicates whether enablement succeeded or failed.
After successfully enabling this feature, you can transition other ÃÛ¶¹ÊÓÆµ Commerce user accounts to ÃÛ¶¹ÊÓÆµ IMS accounts. ÃÛ¶¹ÊÓÆµ Commerce users must belong to the configured ÃÛ¶¹ÊÓÆµ organization to log in using an ÃÛ¶¹ÊÓÆµ ID.