> For the complete documentation index, see [llms.txt](https://support.growlytics.in/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://support.growlytics.in/integrations/email-integrations/sendgrid-integration.md).

# SendGrid Integration

### Introduction

SendGrid provides SMTP (Simple Mail Transfer Protocol) services, allowing users to utilize their mail servers for sending emails. It is an ideal choice when dealing with a high volume of emails, as manually handling such quantities would be time-consuming and labor-intensive.

{% hint style="info" %}
If you have any queries, reach out to us at **<support@growlytics.in>**
{% endhint %}

### Integration

1. Ensure you have access to your SendGrid account.
2. Ensure that your SendGrid account is set up and configured.

### Configure SendGrid account

You can sign up for SendGrid at [**https://sendgrid.com/pricing**](https://sendgrid.com/pricing) and select your pricing plan. After account creation, you can optionally white-label your domain in your account by clicking on the 'Set Up + Configure' button.

<figure><img src="https://files.readme.io/6e456d0-img9.PNG" alt=""><figcaption><p>Whitelabel you domain</p></figcaption></figure>

Add a new domain and click on 'Save'. Then you can add the SendGrid specified TXT Records in your domain's DNS settings. This will remove 'via sendgrid.net' seen by email recipients.

<figure><img src="https://files.readme.io/bac152a-img10.PNG" alt=""><figcaption></figcaption></figure>

### Configure SendGrid on the Growlytics Dashboard

To configure SendGrid on Growlytics, login to your Growlytics dashboard and go to Settings > Email > Add Provider > Select 'SendGrid' from the drop-down.

<figure><img src="https://files.readme.io/b4317c6-img11.PNG" alt=""><figcaption><p>Sendgrid on Growlytics</p></figcaption></figure>

When SendGrid is selected, you will be asked to provide the SendGrid API key and email address.

1. API KEY: Generate and put SendGrid API key here.
2. From Email Address: Email id you want to use to send emails from Growlytics. Make sure the email id that you mention here is approved on SendGrid.

**Configure SendGrid Webhooks For Delivery Reports.**

Next, to receive delivery reports from SendGrid, you will need to configure SendGrid webhooks.

1. Login to your SendGrid dashboard, go to Settings > Mail Settings > Event Webhooks. You will be seeing a popup to provide a webhook URL as shown in the screenshot below:

<figure><img src="https://63724372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSv5AG7Mmktrz9UQaoDrL%2Fuploads%2FPc9pmViRtU28DG2zLxAN%2F303b268-img12.png?alt=media&amp;token=64b48747-bfee-4d8c-beb5-38e2774c92b0" alt=""><figcaption><p>Event Webhook</p></figcaption></figure>

2\. Copy the webhook URL from your Growlytics dashboard for SendGrid and paste it into the webhook input box on the SendGrid dashboard.

<figure><img src="https://63724372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSv5AG7Mmktrz9UQaoDrL%2Fuploads%2Ffv97nTyQDfpDXi1WVe7O%2FGroup%20278.png?alt=media&amp;token=133c3896-1a6a-4cf2-85b9-94126c652bf3" alt=""><figcaption></figcaption></figure>

3\. After configuring the webhook URL, the option for the following delivery events on the SendGrid dashboard: Dropped, Bounced, Delivered.

<figure><img src="https://63724372-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FSv5AG7Mmktrz9UQaoDrL%2Fuploads%2FLvlsmu9eXPXEUsu98GuM%2FGroup%20279.png?alt=media&amp;token=f54507cc-b76c-43f8-ac2d-e97717cc26ab" alt=""><figcaption></figcaption></figure>

That's all you need to do for SendGrid integration. Make sure to send out a test campaign to confirm if the integration is working well.&#x20;

If you have any queries, reach out to us at **<support@growlytics.in>**
