In order to configure Magento 2 Mautic Integration extension navigate to Store > Configuration > Magefan Extensions > Mautic Integration.
There are 3 sections you have to configure.
General
1. Enable Extension.
2. Enter Product Key which you can find in your Magefan Account.
3. Set the Mautic URL.
4. Choose the Authentication Method.
5. Enter Mautic Loginand Password.
Note: that the Mautic API and HTTP basic auth have to be enabled. Besides, we recommend you to Save Config before the next step. Otherwise, you won't be able to proceed with the configuration.
6. Press the Export All Contacts button. In case you have quite a lot of contacts the export takes some time, so you better run the console command :
bin/magento mfmi:export:all
Mautic Contact Monitoring
In this section, you have to choose whether to Enable JavaScript (JS) Tracking. If you choose Yes there will be enable Mautic tracking pixel on the storefront. It will gather data about website visitors and stock it in Mautic so that you can use it for user segmentation later on.
Fields Mapping
Here set which Mautic Contact Fields will correspond to the Magento Customer Fields meaning which customer information will be placed in the corresponding fields in Mautic contacts while synchronization.
Once you set all the information don't forget to press the Save button once more.