# How to Connect Mandrill

In order to get started with Mandrill SMTP, you need to first create an account with [Mandrill](https://login.mailchimp.com/signup/). ( This is a MailChimp account )

You can now login and follow these 2 easy steps to complete your SMTP integration:

1. Add a domain and verify it.
2. Copy and integrate Mandrill API

Let's get started!

#### **1. Add a domain and verify it.**

First, you visit [Mandrill setting](https://mandrillapp.com/settings/sending-domains) page, then you enter "**your domain** " and click " +**Add**".

<figure><img src="https://2430774507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MMvULxRbZfmag_jD1k_%2Fuploads%2FARZqamZoK2Eyah26rCuu%2Fadd_domain.png?alt=media&#x26;token=24877bdd-00ab-4281-807a-5676934cb287" alt=""><figcaption><p>Add domain</p></figcaption></figure>

Then, you need to verify your domain. we recommend contacting your hosting support for guidance on how to add these 2 records to your hosting and don't worry, the process is quite easy.

<figure><img src="https://2430774507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MMvULxRbZfmag_jD1k_%2Fuploads%2FkeaexZavRMdejunQ01Tw%2FScreen%20Shot%202023-04-10%20at%2011.39.57.png?alt=media&#x26;token=5833d744-9b8e-4946-acf7-f29099bfbeb1" alt=""><figcaption><p>DKIM</p></figcaption></figure>

<figure><img src="https://2430774507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MMvULxRbZfmag_jD1k_%2Fuploads%2FE6FpMEGwkQvMeoEAHkMH%2FScreen%20Shot%202023-04-10%20at%2011.40.04.png?alt=media&#x26;token=08b62ae0-be87-4643-a3e2-c117a7df97a1" alt=""><figcaption><p>SPF</p></figcaption></figure>

<figure><img src="https://2430774507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MMvULxRbZfmag_jD1k_%2Fuploads%2FVsBEiLLLBDckAq1itZXJ%2Fverify_domail_mandrill.png?alt=media&#x26;token=5f8099a6-d809-4ccd-8a5b-f3e6f5cb252d" alt=""><figcaption><p>Verify your domain successful</p></figcaption></figure>

**2. Create, copy and integrate Mandrill API**

****Then you click "**SMTP & API Info**" tab and then click "+**New API Key**" button.

<figure><img src="https://2430774507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MMvULxRbZfmag_jD1k_%2Fuploads%2FJTFcGhEW5Iy6fMesY7r9%2FScreen%20Shot%202023-04-10%20at%2011.34.15.png?alt=media&#x26;token=60a79885-6eb1-4f46-b2e4-5789a0fd9078" alt=""><figcaption><p>Add New API Key</p></figcaption></figure>

Then, copy API Key as image below and paste into **API Key** field of YaySMTP settings on your website.

<figure><img src="https://2430774507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MMvULxRbZfmag_jD1k_%2Fuploads%2FRcTqfDhHHXqEiR0lvtQh%2FScreen%20Shot%202023-04-10%20at%2011.36.22.png?alt=media&#x26;token=9a5b7840-5dd2-45f0-848f-e931f67703b5" alt=""><figcaption><p>API Key</p></figcaption></figure>

Now you have successfully integrate Mandrill SMTP into your WordPress site!&#x20;

Happy Sending!
