---
schema_version: "1"
id: f633eeb63d73381460078028c0e1743ba2002bbdf6b82482a51c24885bfddeff
title: Add an ML-Based Recommender to a Marketing Email
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mktg_content_personalization_objective_recommenders_emails.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mktg_content_personalization_objective_recommenders_emails.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 016b4fb389bef6364dbcc946e67e5424e27d7915835ecab062668f66dfb2bbbb
description: Instead of writing rules to decide which content each contact sees, let a recommender choose the best content for each contact at send time. The recommender is powered by Salesforce Personalization and improves over time as it learns from engagement.
products:
  - Marketing
release: "264"
---
# Add an ML-Based Recommender to a Marketing Email

Instead of writing rules to decide which content each contact sees, let a recommender choose the best content for each contact at send time. The recommender is powered by Salesforce Personalization and improves over time as it learns from engagement.

[View supported editions](https://help.salesforce.com/s/articleView?id=mktg.mktg_editions.htm&release=264.0.0&type=5 "Marketing Cloud Next is available in Growth and Advanced editions, and requires Salesforce Enterprise or Unlimited editions. Some features are limited by edition or purchased add-on. All functionality is available in Lightning Experience only.").

Before adding recommender fields, make sure your ML-based recommender is connected and your data graph is configured. The data graph determines which recommender attributes are available as merge fields.

## Add Recommender Fields to an Content Block

1. Navigate to the data sources panel and add your ML-based recommender as a data source.
2. In the email you're building, select the image content block where you want to apply recommender fields.
3. In the block settings, select **Merge Field** as image source.
4. Under source, select **Personalization Recommendation Data Provider**.
5. Select **Recommended Items**, then choose the specific fields or attributes you want to display, and configure the merge field details. Optionally, configure additional attributes such as caption or URL.
6. Save the configuration. The recommender attributes are visible when you preview the email.

## Preview Recommender Content

The recommender chooses content per contact so the design canvas shows a placeholder rather than a single fixed result.

1. Open Preview.
2. Enter parameters such as a segment to simulate a contact context.
3. Review the content the recommender returns for that context.