Loading
Upcoming Mandatory Changes to Public Key Infrastructure (PKI)Read More
Agentforce and Einstein Generative AI
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Set the Search Provider for Search the Web Agent Action

          Set the Search Provider for Search the Web Agent Action

          To improve the accuracy of web search responses, set the search provider for the Search the Web action. Set the provider value through input variables in Next Generation Actions (NGA) or through the Configuration Value field in the legacy Agentforce Builder.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Performance, Unlimited, and Developer Editions. Required add-on licenses vary by agent type.
          User Permissions Needed  
          To build and manage Employee agents:

          Manage AI Agents

          OR

          Customize Application

          Note
          Note When you add the Search the Web agent action, Salesforce returns publicly available search results from external sources in agent responses. Salesforce doesn’t review or verify this content. Results can include inaccurate or objectionable information. Use of web search is subject to the applicable Salesforce terms.
          Note
          Note The Search the Web agent action isn’t supported in Government Cloud.
          Important
          Important If you configured the Search the Web agent action before Salesforce introduced the selection list for search providers, the list doesn’t appear in the existing configuration. In this case, deactivate the agent, remove the existing Search the Web action, add a fresh copy of the action from the asset library, and then activate the agent again.

          Before you begin, make sure that the Search the Web action is added to the agent. Turn on Einstein in Einstein Setup. If using the OpenAI provider, turn on OpenAI Models in Einstein Setup.

          The search provider determines which service processes web search queries. If you don’t specify a provider, the action uses BrightData as the default search provider.

          Set the Search Provider

          The search provider determines which service processes web search queries. If you don't specify a provider, the action uses BrightData as the default search provider.

          1. From the App Launcher, search for Agent, and select the Agentforce Studio app, and then click Agents.
          2. Select the agent that you use for web search. If you don't have a web search agent, click New Agent and create one.
          3. On the Explorer panel, expand Subagents and select the General Web Search subagent.
          4. Under Actions Available For Reasoning, click Select action and select Search The Web.
          5. Expand Search The Web to show its input parameters.
          6. Next to Search Provider, click Agent Populated. The Edit Custom Variable dialog opens.
          7. Enter a Name for the variable. The API Name is populated automatically.
          8. For Data Type, select String.
          9. In the Default Value field, enter one of the supported search providers: BrightData, OpenAI, or you.com.
            Provider names aren't case sensitive. For example, you can enter OpenAI, openai, or OPENAI. If you don't specify a provider, the action uses BrightData by default.
            Edit Custom Variable dialog showing the Search Provider variable with Default Value field
          10. Save your changes.

          Set the Search Provider in the Legacy Agentforce Builder

          1. From Setup, in the Quick Find box, enter Agents, and then select Agentforce Agents.
          2. Select your agent, and click Open in Builder.
          3. In Agentforce Builder, open the General Web Search subagent.
          4. Select This Subagent’s Actions.
          5. Select Search The Web.
          6. Click Edit Action.
          7. In the Inputs section, locate the Configuration Value field under Search Provider, and select a search provider.
          8. Save the action.

          Use subagent instructions to control the format of web search results, for example, bullet points or tables.

           
          Loading
          Salesforce Help | Article