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.
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 Login and 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 :
Mautic Contact Monitoring
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.
In case the integration is not complete and the field mapping doesn't work, please try to delete the var/cache folder in the Mautic file system.