# 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="/files/xevJhyLavREsS3eAD2l9" 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="/files/tt2Pbw8mAwxvVXWVy7dp" alt=""><figcaption><p>DKIM</p></figcaption></figure>

<figure><img src="/files/XnC6vVDZcfBWbrAOB7Pp" alt=""><figcaption><p>SPF</p></figcaption></figure>

<figure><img src="/files/kXwir50I7UEAamrdb7rJ" 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="/files/hDCLrNeeRSptFlAeRui7" 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="/files/WThj3bglONKre9w5Qy38" alt=""><figcaption><p>API Key</p></figcaption></figure>

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

Happy Sending!


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.yaycommerce.com/yaysmtp/how-to-set-up-smtps/how-to-connect-mandrill.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
