# How to deploy recommendation with Brevo

To deploy a recommendation with Brevo, you need to configure the tool first. If you have already done so, you can move on to the next step.\
[https://app.gitbook.com/o/iFKI1JaxSfPoiGt4tT2k/s/6Yw9IRJ6KbbucQPwZUCZ/\~/changes/368/recommendations-and-merchandising-1/how-tos/how-to-configure-your-email-integration/how-to-configure-brevo-integration](/recommendations-and-merchandising/how-tos/how-to-configure-your-email-integration/how-to-configure-brevo-integration.md)<br>

{% stepper %}
{% step %}

### Prepare the Recommendation

1. Click on  **Recommendations** <br>

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

2. Click on **paper plane icon** in actions of the line, or click on edit recommendation then **deployment settings** button at the bottom right of the page

3. Go to the part : "**On your email platform**". And Map your recommendation variables with Brevo contact attributes.

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

   \
   If an attribute is missing, create it in **Brevo > Contacts > Settings > Contact Attributes > Add new attribute**.<br>

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

4. Click **Publish** and copy the generated **feed brevo link** to the recommendation ID.<br>

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

{% endstep %}

{% step %}

### Add the Recommendation in Brevo Email

1. Create or edit a campaign using **Brevo Drag & Drop editor**, and insert a **Dynamic Content block** (not to be confused with the Text/HTML block.&#x20;

   <figure><img src="/files/uoVBI5jTi6DR0BUh6Tr8" alt=""><figcaption></figcaption></figure>
2. In the block settings:
   1. Use **Data feed** as Data source

      <figure><img src="/files/rIdE3QqkGMXUzV0FnXHD" alt=""><figcaption></figcaption></figure>
   2. Select your published feed brevo link to the recommendation you want to add in your mail

      <figure><img src="/files/711tzcsKBHgyQMHv3WLm" alt=""><figcaption></figcaption></figure>
   3. Insert the variables (title, image, URL, price)

      <figure><img src="/files/6GxO14ZK4xY0fyQ5tFql" alt=""><figcaption></figcaption></figure>

Minimal example:

```liquid
{% for item in feed.recos_xxxx.items | slice:"0:4" %}
  <a href="{{ item.url }}">
    <img src="{{ item.image }}" alt="{{ item.title }}">
  </a>
  <p>{{ item.title }} - {{ item.price }}</p>
{% endfor %}
```

{% endstep %}

{% step %}

### Send a Test

1. Add your email address to a Brevo contact list and send a **test email (BAT)** from the campaign.

   <figure><img src="/files/h7LpdFoxvaZzXIXjIta6" alt=""><figcaption></figcaption></figure>
2. You’ll receive the email with live Reco & Merch recommendations 🎉.
   {% endstep %}
   {% endstepper %}


---

# 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.abtasty.com/recommendations-and-merchandising/how-tos/how-to-deploy-a-strategy/how-to-deploy-a-recommendation-strategy-on-web/how-to-use-recommendations-in-emails-campaign/how-to-deploy-recommendation-with-brevo.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.
