---
schema_version: "1"
id: a3c7268f64c9ec14fd53c03dbacd2e8004471f006cf98b185ea68be2de8a7abf
title: Create an Agent from the Distributed Marketing Agent Template
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mktg_agent_distributed_marketing.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mktg_agent_distributed_marketing.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3b8571003e169fdd85e3ced8ee9b5ed7fb60c4c58bd31dbce69196ddab811194
description: The Distributed Marketing agent helps users prioritize follow-ups. From any lead or contact record, ask the agent to identify top-engaged customers or show marketing engagement data. The agent can even recommend email templates based on that data. Plus, discover recent marketer-approved email templates to personalize and send.
products:
  - Marketing
release: "264"
---
# Create an Agent from the Distributed Marketing Agent Template

The Distributed Marketing agent helps users prioritize follow-ups. From any lead or contact record, ask the agent to identify top-engaged customers or show marketing engagement data. The agent can even recommend email templates based on that data. Plus, discover recent marketer-approved email templates to personalize and send.

### Required Editions

[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.").

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:left;vertical-align:top;" id="d44697e47">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d44697e47 ">To build an agent in Marketing Cloud Next:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d44697e47 ">
              <p>Manage AI Agents</p>
              <p>AND</p>
              <p style="margin-bottom:0;">Manage Agentforce Employee Agents</p>
            </td>

          </tr>
        </tbody>
      </table>

Before you begin:

- [Set Up Distributed Marketing and Alerts](https://help.salesforce.com/s/articleView?id=mktg.mktg_admin_distributed_marketing.htm&type=5&language=en_US).
- Set up [Salesforce Foundations](https://help.salesforce.com/s/articleView?id=xcloud.base_salesforce_foundations_setup.htm&type=5&language=en_US), which is required to enable marketing agent templates and access the latest Agentforce innovations for Marketing Cloud.
- Give your marketers [agent access](https://help.salesforce.com/s/articleView?id=ai.agent_manage_aea_access.htm&language=en_US&type=5).
- For information about currently supported languages, review these [considerations](https://help.salesforce.com/s/articleView?id=mktg.mktg_einstein_dma_considerations.htm&type=5&language=en_US).

## Set Up the Distributed Marketing Agent

This setup in Marketing Cloud Next ensures the correct AI features are enabled for you to use the Distributed Marketing agent.

1. Set up [Einstein Generative AI](https://help.salesforce.com/s/articleView?id=ai.generative_ai_enable.htm&language=en_US&type=5).
2. [Enable Agentforce](https://help.salesforce.com/s/articleView?id=ai.agent_setup_enable.htm&language=en_US&type=5).
3. In Agentforce Studio, click **\+ New Agent**.
4. For the template type, select **Distributed Marketing Agent**.
5. Give your agent a name and select **Let’s Go**.
6. To give non-marketing users access to the Distributed Marketing agent, go to **Setup** and add the agent to a permission set or profile. See [Manage Employee Agent Access](https://help.salesforce.com/s/articleView?id=ai.agent_manage_aea_access.htm&type=5&language=en_US).
    
    You can create a new permission set or profile, or you can add to an existing one.
    
    Remember to assign this permission set to your own admin profile.

Log out, then log back in to check that the Distributed Marketing agent and its permissions are active.

## Test Your Agent

Your Distributed Marketing agent already includes subagents and their standard actions. From Agentforce Studio, click on a subagent to open its details. Then preview to test your agent and confirm that it performs as expected.

To use the agent:

1. Go to the **Contacts** tab and open a specific record.
2. To open the Agentforce chat window, click the **Agentforce** icon.
3. Enter a prompt with as much detail as possible to ensure that the Distributed Marketing agent generates an accurate response.
    
    For example, use prompts like:
    
    - Retrieve engagement activities for this contact.
    - Show recent email templates for campaigns.
    - Find top scores across scoring models.
4. Review and confirm the agent’s response.