You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTALL.md
+39-4Lines changed: 39 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,17 +14,52 @@ Go to the [Adobe developer console](https://developer.adobe.com/console) portal
14
14
- I/O management API
15
15
- Download the [workspace configuration JSON](https://developer.adobe.com/commerce/extensibility/events/project-setup/#download-the-workspace-configuration-file) file and save it as `workspace.json` in the `./scripts/onboarding/config` folder because you will use it to configure Adobe IO Events in commerce afterward.
16
16
17
-
### Configure a new Integration in commerce 
17
+
### Supported Auth types
18
+
19
+
With the new announcement of **Adobe Commerce as a Cloud Service** (ACCS), requests to Commerce will now use different authentication strategies depending on the flavor you're using:
20
+
21
+
- If you're using the traditional Adobe Commerce Platform (PaaS) offering, you'll need to authenticate via OAuth1, like you've been doing until now.
22
+
23
+
- If you're using the new cloud service (SaaS) offering, you'll need to authenticate your requests using [Adobe Identity Management System](https://experienceleague.adobe.com/en/docs/experience-manager-learn/foundation/authentication/adobe-ims-authentication-technical-video-understand) (IMS).
24
+
25
+
####  Commerce OAuth1 - Configure a new Integration in Commerce
18
26
Configure a new Integration to secure the calls to Commerce from App Builder using OAuth by following these steps:
19
27
- In the Commerce Admin, navigate to System > Extensions > Integrations.
20
28
- Click the `Add New Integration` button. The following screen displays

25
33
- Click Save.
26
34
- In the list of integrations, activate your integration.
27
-
- To configure the module, you will need the integration details (consumer key, consumer secret, access token, and access token secret).
35
+
- To configure the starter kit, you will need the integration details (consumer key, consumer secret, access token, and access token secret).
36
+
37
+
Store the credentials in the `.env` file, these are the minimum required values:
38
+
```dotenv
39
+
COMMERCE_CONSUMER_KEY=
40
+
COMMERCE_CONSUMER_SECRET=
41
+
COMMERCE_ACCESS_TOKEN=
42
+
COMMERCE_ACCESS_TOKEN_SECRET=
43
+
```
44
+
45
+
####  IMS OAuth - Add the OAuth Server to Server credentials to the environment
46
+
Configure a new IMS OAuth Server to Server following this [documentation](https://developer.adobe.com/developer-console/docs/guides/authentication/ServerToServerAuthentication/implementation/#setting-up-the-oauth-server-to-server-credential/)
47
+
48
+
Store the credentials in the `.env` file:
49
+
```dotenv
50
+
# The following values can be copied from the Credential details page in AppBuilder under Organization > Project > Workspace > OAuth Server-to-Server
### Install Commerce Eventing module (only required when running Adobe Commerce versions 2.4.4 or 2.4.5) 
30
65
Install Adobe I/O Events for Adobe Commerce module in your commerce instance following this [documentation](https://developer.adobe.com/commerce/extensibility/events/installation/)
0 commit comments