---
schema_version: "1"
id: 6e82257ada737788cf04d52a194c260a5442ddeef4516e1db601ccdd453ed594
title: Configure the Smart Search Assistance Sub-Agent
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/experience/264-0-0/configure_the_smart_search_assistance_sub_agent.md
canonical_url: https://help.salesforce.com/s/articleView?id=experience.configure_the_smart_search_assistance_sub_agent.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 9143d685f1883150fe2faea515fa0192667068bb0d16a9a0540e7c7cbdc7dd2d
description: Add search and action capabilities to your agent by configuring the Smart Search Assistance sub-agent and mapping its associated variables. This configuration allows the agent to retrieve results specifically from your Experience Cloud site search profile and respects site-specific security boundaries and data sources.
products:
  - Experiences
release: "264"
---
# Configure the Smart Search Assistance Sub-Agent

Add search and action capabilities to your agent by configuring the Smart Search Assistance sub-agent and mapping its associated variables. This configuration allows the agent to retrieve results specifically from your Experience Cloud site search profile and respects site-specific security boundaries and data sources.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience in Enterprise and Unlimited editions for an additional cost. To purchase, contact your Salesforce account executive.</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Aura Experience Cloud sites that use Build Your Own Template</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: LWR Experience Cloud sites that use Build Your Own Template</td></tr></tbody></table>

<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:center;vertical-align:top;" id="d95888e66">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d95888e66 ">To configure Sub-Agents</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d95888e66 ">
              <ul>
                <li>System Administrator Profile OR Manage Agentforce Agents</li>

              </ul>
              <ul>
                <li>Customize Application</li>

              </ul>
            </td>

          </tr>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d95888e66 ">Map Variables</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d95888e66 ">
              <ul>
                <li>Customize Application </li>

              </ul>
              <ul>
                <li> View Setup and Configuration</li>

              </ul>
            </td>

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

1. From Setup, enter Agentforce Agents in the Quick Find box, and then select **Agentforce Agents**.
2. Click the name of your agent and select Open in Builder.
3. In the Agentforce Builder sidebar, select the **Sub-agents**.
4. Add the Sub-agent and choose Smart Search Assistance from the library.
5. Within the sub-agent settings, locate the View Action section and make sure Actionable Smart Search is added and active.
6. In the Context or Variables tab of the Builder, create two new custom variables:
    1. Search Config: A variable to store your Search Configuration ID.
    2. Network: A variable to capture the Network ID of your Experience Cloud site.
7. Map the Variables:
    1. Select the Actionable Smart Search action within the sub-agent.
    2. Under Tool Input Settings, map the Search Config variable to the Search Configuration input field.
    3. Map the Network variable to the Network ID input field. Map the Portal ID to your specific Site ID to align with the SCTR2 cell mapping logic.
8. Save your work and select **Finish**.
9. Select **Activate**.