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
+31-19Lines changed: 31 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Go to the [Adobe developer console](https://developer.adobe.com/console) portal
12
12
- I/0 events
13
13
- Adobe I/O Events for Adobe Commerce
14
14
- I/O management API
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`starter kit folder because you will use it to configure Adobe IO Events in commerce afterward.
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
17
### Configure a new Integration in commerce
18
18
Configure a new Integration to secure the calls to Commerce from App Builder using OAuth by following these steps:
@@ -24,7 +24,7 @@ Configure a new Integration to secure the calls to Commerce from App Builder usi
- In the list of integrations, activate your integration.
27
-
- To configure the starter kit, you will need the integration details (consumer key, consumer secret, access token, and access token secret).
27
+
- To configure the module, you will need the integration details (consumer key, consumer secret, access token, and access token secret).
28
28
29
29
### Install Commerce Eventing module (only required when running Adobe Commerce versions 2.4.4 or 2.4.5)
30
30
Install Adobe I/O Events for Adobe Commerce module in your commerce instance following this [documentation](https://developer.adobe.com/commerce/extensibility/events/installation/)
@@ -34,8 +34,8 @@ Install Adobe I/O Events for Adobe Commerce module in your commerce instance fol
34
34
> By upgrading the Adobe I/O Events for Adobe Commerce module to version 1.6.0 or greater, you will benefit from some additional automated steps during onboarding.
35
35
36
36
37
-
## Starter Kit first deploy & onboarding
38
-
Following the next steps, you will deploy and onboard the starter kit for the first time. The onboarding process sets up event providers and registrations based on your selection.
37
+
## Commerce to Hubspot integration first deploy & onboarding
38
+
Following the next steps, you will deploy and onboard the integration for the first time. The onboarding process sets up event providers and registrations based on your selection.
39
39
40
40
### Download the project
41
41
- Download and unzip the project
@@ -48,7 +48,7 @@ Install the npm dependencies using the command:
48
48
npm install
49
49
```
50
50
51
-
This step will connect your starter kit project to the App builder project you created earlier.
51
+
This step will connect your project to the App builder project you created earlier.
52
52
Ensure to select the proper Organization > Project > Workspace with the following commands:
53
53
```bash
54
54
aio login
@@ -72,7 +72,7 @@ You can confirm the success of the deployment in the Adobe Developer Console by
This step will generate the IO Events providers and the registrations for your starter kit project.
75
+
This step will generate the IO Events providers and the registrations for your project.
76
76
If your Commerce instance Adobe I/O Events for Adobe Commerce module version 1.6.0 or greater, the module will also be automatically configured by the onboarding script.
77
77
To start the process run the command:
78
78
```bash
@@ -126,10 +126,9 @@ Here are the events with the minimal required fields you need to subscribe to, i
| Company | observer.observer.company_save_commit_after | id, status, company_name, legal_name, company_email | company [create](https://adobe-commerce.redoc.ly/2.4.6-admin/tag/company#operation/PostV1Company) |
131
+
| Order | observer.sales_order_save_commit_after | id, increment_id, created_at, updated_at | order create [get](https://adobe-commerce.redoc.ly/2.4.6-admin/tag/orders#operation/GetV1Orders) |
133
132
134
133
135
134
@@ -141,18 +140,25 @@ Hubspot is an integrated system and to connect Adobe Commerce with Hubspot you n
141
140
142
141
Go to Data Management -> Integrations and create a new App.
143
142
144
-
Inside of the created app you can switch to "Auth" tab and receive Access Token.
143
+
Inside of the created app you can switch to "Auth" tab and receive an Access Token.
145
144
146
-
Add to .env file of the project the following variable and add your valie here:
145
+
Add to .env file of the project the following variable and add your value here:
147
146
148
147
```
149
148
HUBSPOT_ACCESS_TOKEN=
150
149
```
151
150
151
+
Additionally you have to add to .env file:
152
+
153
+
```
154
+
COMMERCE_HUBSPOT_CONTACT_ID_FIELD=
155
+
```
156
+
157
+
It's an Adobe Commerce customer custom attribute code, which will be used to save Hubspot Customer ID, so in case if customer already being exported to Hubspot, system will perform Update and not Create action
152
158
153
159
### Hubspot -> Adobe Commerce sync
154
160
155
-
Part of hubspot integration is to allow to sync back to Adobe commerce if some information being changed on Hubspot side
161
+
Part of the tion HubSpot integration involves enabling the synchronization of changes made in HubSpot back to Adobe Commerce.
156
162
157
163
Currently supported:
158
164
@@ -181,35 +187,41 @@ So your custom code configuration will look at the end like following:
Copy file name to clipboardExpand all lines: README.md
+6-2Lines changed: 6 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,10 @@
1
-
# Commerce Integration Starter Kit
1
+
# Adobe App Builder integration for Adobe Commerce and Hubspot
2
2
3
-
The integration between Adobe Commerce and HubSpot facilitates seamless data synchronization and management across customer, company, and order domains. Here's a brief description:
3
+
The integration between Adobe Commerce and HubSpot facilitates seamless data synchronization and management across customer, company, and order domains.
4
+
5
+
This application serves as a reference implementation for integrating HubSpot and Adobe Commerce. It is designed to demonstrate basic integration features and provide a foundational starting point for further development. Users are encouraged to extend and customize the application to meet specific business requirements and leverage additional functionalities beyond the basic features provided.
0 commit comments