# How to Connect Brevo

Before connecting Brevo to YaySMTP, make sure you already have a Brevo account and an active plan (the free plan works perfectly).

If you haven’t created an account yet, you can register for Brevo and complete the required profile information before proceeding.

You can register by [clicking here](https://app.sendinblue.com/account/register) if you have not done that already.

Once your account is ready, follow the steps below to complete the SMTP connection.&#x20;

### Step 1: Authorize Your Domain

From your [Brevo Dashboard](https://my.sendinblue.com/dashboard/), click on "**Settings"** menu. At "**Your** **Sender and Domains"** boxed click on **Configure** button, move to **Domains** tab and click "**Add a New Domain"**, enter your domain URL, check the box below then click "**Save"**.

Note: If the page doesn’t respond (as at now that page is buggy this way), do not worry because it is saved anyway, you could just click on the transparent area to leave that pop-up and now the “saved successfully” confirmation dialogue should come up and your domain should now start showing there and if not, then refresh that page and it would come up.

<figure><img src="/files/SlAuGQDVJzHwpblLCHWu" alt=""><figcaption></figcaption></figure>

### Step 2: Verify Your DNS Records

After adding your domain, you need to verify it by adding DNS records to your hosting provider.

1. In the **Domains** section, click **Authenticate This Domain**.
2. Sendinblue will display several **DNS TXT records**.
3. Add these records to your domain’s DNS settings through your hosting provider.
   * If you are unsure how to do this, contact your hosting support team for assistance.

**Important:**\
DNS changes may take some time to propagate. In some cases, it can take **up to 24 hours** for the records to become active.

Once the DNS records are added:

1. Return to Brevo.
2. Click **Authenticate This Domain** again.
3. Click **Record Added. Please Verify It** for each record.
4. After all records are verified, click **I'm Done**.

<figure><img src="/files/sYJNTImU0C6Ik5EAIQzi" alt=""><figcaption></figcaption></figure>

### Step 3: Create and Add Your Brevo API Key

The final step is connecting Brevo to YaySMTP using an API key.

1. Go to the **Brevo API page** (you can access it directly from the API field inside YaySMTP).
2. Either:
   * **Create a new API key**, or
   * **Copy an existing API key** from the list.

<figure><img src="/files/UWcHzbkBeMLQFDgmzcGB" alt=""><figcaption></figcaption></figure>

3. Paste the API key into the **Brevo API field** in YaySMTP.

<figure><img src="/files/acPKyAkaXYpYB9TsGSKK" alt=""><figcaption></figcaption></figure>

4. Save your settings.

### Important Note

The **Brevo mailer will not function properly until all three steps are completed**:

* Domain authorization
* DNS record verification
* API key integration

Make sure every step above is completed before testing your email delivery.


---

# 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-sendinblue.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.
