> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.icommkt.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to integrate with Magento

The integration with E-Commerce Magento allows the automatic sending of customer MASTERDATA data to an ICOMMKT profile, as well as their enrichment based on information processed from the various purchases made by each one of them.


* Among these data we can find:

• Date of last purchase
• Days since last purchase
• Date of first purchase
• Days from first purchase
• Products purchased in the last 30, 60, 90, 180, 360, 360 + days
• Categories of Products purchased in the last 30, 60, 90, 180, 360, 360 + days
• Number of purchases made in the last 30, 60, 90, 180, 360, 360 + days
• Amount of purchases made in the last 30, 60, 90, 180, 360, 360 + days
• Average amount of purchases made in the last 30, 60, 90, 180, 360, 360 + days
• RFM of purchases made in the last 30, 60, 90, 180, 360, 360 + days
• Discount codes applied in the last 30, 60, 90, 180, 360, 360 + days.
• Last Purchase Brands
• Last Purchase Categories
• Last Purchase Promo Codes
• RFM_Group 
• RFM_Segment

| Learn more about RFM fields: [What are the RFM_Group and RFM_Segment fields and what are they for?](/en-us/article/what-are-the-rfmgroup-and-rfmsegment-fields-and-what-are-they-for-1ikxu58/)
|| The native integration process runs every 24 hours, so the data will be reflected with that frequency within the Dashboard [Ecommerce or Omnichannel as appropriate]. The linked [Ecommerce or Omnichannel] profile is updated once a day with the data obtained from the platform of origin up to the time of processing.

###### Follow this step by step to integrate between Magento and Icomm

1. From Magento, go to **SYSTEM**
* Select the **User Roles** option

![](https://storage.crisp.chat/users/helpdesk/website/e4b41ef8ae96c800/img9_1mqz1dm.jpg)

2. Add a new role
* Role name: ICOMM

3. Grant the following permissions to Icomm

* You go out
* Operations
* Orders
* Actions
* view
* Shipments
* Credit Memos
* Billing Agreements
* Actions
* view
* Catalog
* Inventory
* Products
* Categories
* Customers
* All customers
* Actions
* Customer Groups

![](https://storage.crisp.chat/users/helpdesk/website/e4b41ef8ae96c800/00_1w0lqtz.png)
![](https://storage.crisp.chat/users/helpdesk/website/e4b41ef8ae96c800/01_97jb50.png)
![](https://storage.crisp.chat/users/helpdesk/website/e4b41ef8ae96c800/permisos-magento-stores3_vmkxei.jpg)
![](https://storage.crisp.chat/users/helpdesk/website/e4b41ef8ae96c800/03_1d0zjaw.png)
![](https://storage.crisp.chat/users/helpdesk/website/e4b41ef8ae96c800/04_12h64wv.png)

4. Once the role is created: return to the **SYSTEM** panel

![](https://storage.crisp.chat/users/helpdesk/website/e4b41ef8ae96c800/img16_l74o1q.jpg)

5. Click on **All Users** to create a user with the following credentials:
* Username
* Password

![](https://storage.crisp.chat/users/helpdesk/website/e4b41ef8ae96c800/img17_1sntdoz.jpg)

![](https://storage.crisp.chat/users/helpdesk/website/e4b41ef8ae96c800/img20_1waeejg.jpg)

![](https://storage.crisp.chat/users/helpdesk/website/e4b41ef8ae96c800/img21_1u1ft1m.jpg)

6. Share the following details with your assigned Icomm account executive with whom you are performing the integration:

* Magento activity start date: Date of first purchase
* Payment gateways: MercadoPago, Decicir, Cash, Bank Transfer
* Site url
* ADMIN URL: it is different from the site. Once the user has been created, the role recently created in step 2 must be assigned.

| See more articles about [Icomm Integrations](https://help.icommkt.com/en-us/category/integrations-1k8i7aa/)