1. Open the terminal and go to the var/www/html folder.
Execute the command
composer require edrone/magento2module
2. After the installation begins, enter the username and password which are respectively Public Key and Private Key with Security Keys generated on your Magento account
(more information http://devdocs.magento.com/guides/v2.0/install-gde/prereq/connect-auth.html)
3. After the installation completes, execute the command
php bin/magento setup:upgrade
4. Login to your online shop administration panel and go to "Stores" -> "Settings" -> "Configuration" -> "Edrone" -> "Edrone".
5. Enter app_id and app_secrect, which you can find on point 2 of the instructions in the platform.
If you want to use edrone double opt-in, please set "Use edrone double opt-in" to yes, and in your online shop administration panel go to newsletter configuration and set "Need to Confirm" to Yes.
Syncing subscription status(optional)
In your Magento admin panel, find the edrone module and make sure "Send data via curl" and "Subscription status sync" are set to "YES"
Setup process in edrone system
Go to Integration in edrone settings and find the section "Subscription status synchronization". Enter the data:
Endpoint: Here you need to enter the endpoint address, which includes your domain name and postfix ".edrone.me/update_subscriber_status", for example: https://demo-store.edrone.me/update_subscriber_status (replace demo-store with your domain)
Version: then you need to choose a version, currently we recommend choosing NATIVE_4
Synchronized statuses: Select unsubscribed and subscribed statuses
The last step is to click on the Synchronize button
For more information about syncing subscription status, check our documentation