SendGrid Extension for Magento 2 allows store owners to quickly automate the SendGrid integration with your Magento 2 store. Thus, you will get a faster way to send, configure and control SendGrid emails. Thanks to Aitoc SendGrid plugin, you will enable the reliable email delivery, easy management, and in-depth analytics of your email marketing activities.
With the help of this extension you can:
- Manage and synchronize contacts for your email campaigns
- Send the emails via SendGrid SMTP
- Track the efficiency of emails via SendGrid reports delivered to Magento 2 system
- Control your subscribers in the backend
- Configure marketing campaigns with friendly settings
Find out how to install the SendGrid Extension for Magento 2 via Composer.
All Aitoc extensions can be customized to fit particular business needs. If you have questions about any customization, please drop a message at firstname.lastname@example.org
Before using the extension, be sure you’re at Admin Panel and please go to STORES → CONFIGURATION → AITOC EXTENSIONS → SENDGRID INTEGRATION
Choose 'Yes' to enable Aitoc SendGrid Extension on.
Adding Your API Key
Before connecting SendGrid account to your Magento 2 store, you’ll need to create a SendGrid API Key and add it to your Magento 2 account.
To add an API key to Magento, please follow these steps:
- Go to your SendGrid account and then go to SETTINGS → API KEYS → click CREATE API KEY BUTTON
Here you can add the API Key Name and set the level of access you give to each API Key.
- Choose from common presets or customize access for your particular needs. There are 3 different types of API keys:
- Full Access
- Restricted Access
- Billing Access
|Full Access||Allows the API key to access GET, PATCH, PUT, DELETE and POST endpoints for all parts of your account, excluding billing and Email Address Validation.|
|Restricted Access||Customizes levels of access for all parts of your account, excluding billing and Email Address Validation.|
|Billing Access||Allows the API key to access billing endpoints for the account.|
We recommend you to choose Full Access to be sure that the module will work correctly.
If you choose Restricted Access, we can’t guarantee the correct work of the extension.
- Click the Create & View button to create a new API Key.
Here you can see your new API Key.
- Please copy this key and then go to your Magento 2 Admin Panel.
- Paste your new API Key to API key field.
Now your store will use this API Key to authenticate access to SendGrid service.
The protection of your personal data is guaranteed by Magento.
Also on General settings you can find:
|Subscribe List||Choose a required list of your subscribers.|
|Unsubscribe List||Choose a required list of your unsubscribers.|
|Add customers without subscriptions status in SendGrid||If this setting is enable, all customers without any subscription status (subscribe / unsubsricbe) will be added in SendGrid contacts list like subscribers. When you choose ‘Yes’ for this field, the new List for New Customer field will appear. Here you can select a required list for the customers without subscriptions status.|
Adding the Webhook URL
To add your Webhook Url, please follow these steps:
Go to your SendGrid account and then go to SETTINGS → MAIL SETTINGS → EVENT NOTIFICATIONS
To activate the configuration, select ‘ON’ on the switch selector.
Please copy the HTTP POST URL and then go to your Magento 2 Admin Panel.
- Paste your HTTP POST URL to Webhook Url field.
Now your webstore is connected to your SendGrid account. Also, SendGrid Event Notifications for Unsubscribe List and Magento Event Notifications for Unsubscribe List are synchronized.
Sync all contacts
To automatically synchronize all contacts from your SendGrid account with the contacts from your Magento 2 store, choose ‘Yes’ to Cron Enabled field.
Then click to the Sync button.
After this, your contacts will be synchronized.
When you try the extension for the first time, the contacts synchronization is highly recommended.
Click the Save Config button to complete the configuration.
Go to MARKETING → SENDGRID → SINGLE SENDS
Here you can see all your SendGrid email campaigns. On this handy grid you can find:
- ID (of the email campaign)
- Create Date
- Update Date
|ID (of the email campaign)||Here you can see the ID for each SendGrid email campaign.|
|Name||In this column you can find the title for each SendGrid email campaign.|
|Status||This column shows the status of the SendGrid single sends (draft, triggered, etc)|
|Create Date||Here you can see the single send date of creation.|
|Update Date||Here you can find the updating of your single sends.|
|Action||In this column you can preview/edit/duplicate a single send.|
Go to REPORTS → SENDGRID → STATISTICS
The module allows you to see detailed reports for each email campaign and track statistics of delivered, opened, and bounced emails.
You can set Start Date and End Date for SendGrid Single Sends statistics.
Please go to STORES → CONFIGURATION → AITOC EXTENSIONS → SMTP
The module allows you to use SendGrid as SMTP server to send your email campaigns from Magento via SendGrid.
Choose 'Yes' to enable SMTP Email Configuration for Aitoc SendGrid Extension on. When the option is disabled, the module will not impact on email sendings.
Here you can adjust the SMTP setting which are highly recommended for correct work of the extension.
To configure the SMTP settings, please follow these steps:
- Choose ‘Yes’ for the Use Pre-Defined SMTP Providers field.
For the new Provider field, please choose ‘SendGrid’. After this other required fields will autofill.
Then, please fill your Username and Password in the relevant fields.
Now your store will use SendGrid as SMTP server to send your email campaigns from Magento via SendGrid.
For more detailed settings, please go to the SMTP Email Configuration for Magento 2 guide.
Go to REPORTS → SMTP → EMAILS LOG
From here you can look back all the sent emails from the server to customers.
By clicking ‘Select’ in each mail, you can have a general looking at the display which how your email will reach customer’s eyes. Hit the ‘Clear Emails Log’ button to clear all the archived emails after checking carefully.
THANK YOU FOR CHOOSING AITOC EXTENSIONS