Loading
Slack製品の問い合わせ先はSalesforce Helpへ統合・変更されます続きを読む
PHPの脆弱性に関する監視状況について 続きを読む
メールアドレスがデフォルトのログイン方式となります 続きを読む
CRM Analytics
Set Up Agentforce Coworker to Query CRM Analytics Data (Beta)

Set Up Agentforce Coworker to Query CRM Analytics Data (Beta)

Turn on CRM Analytics MCP server, and connect it to Agentforce Coworker through a dedicated agent so that your users can ask CRM Analytics questions.

Required Editions

Available in Lightning Experience
Available with CRM Analytics, which is available for an extra cost in Enterprise, Performance, and Unlimited Editions
Note
Note CRM Analytics MCP server is a pilot or beta service that is subject to the Beta Services Terms at Agreements - Salesforce.com or a written Unified Pilot Agreement if executed by Customer, and applicable terms in the Product Terms Directory. Use of this pilot or beta service is at the Customer's sole discretion.
User Permissions Needed
To set up the connection: System Administrator
To ask CRM Analytics questions in Coworker: Use CRM Analytics

Before you start, make sure that:

  • Agentforce is turned on in your org.
  • Agentforce Coworker is turned on and provisioned. Coworker requires Data 360 to be activated and a Home CRM connector. For the permissions and licenses that Coworker needs, see Turn On Agentforce Coworker.
  • Your org has CRM Analytics and access to the CRM Analytics MCP server beta release.

To set up, connect Agentforce Coworker to a dedicated CRM Analytics agent that uses CRM Analytics MCP server. For how the parts work together, see CRM Analytics with Agentforce Coworker (Beta).

  1. Turn on CRM Analytics MCP server.
    1. From Setup, in the Quick Find box, enter MCP Servers, and then select MCP Servers under API Catalog.
      The MCP Servers page with the Flex Credits billing banner.
    2. On the Salesforce Services tab, find crma-beta and set Server Status to Active.

    Confirm that crma-beta shows an Active status and 10 tools. The page shows a banner that says Salesforce MCP server usage can be billed (Flex Credits). This banner is expected.

    The crma-beta server with Active status and 10 tools.
  2. To make the server's tools available to agents, register the server in the Agentforce Registry.
    1. From Setup, in the Quick Find box, enter MCP, and then select Registered MCP Servers under Agentforce Registry.
    2. Click New, and add the crma-beta server.

    Confirm that the registry lists analytics.crma-beta with the type Standard and the connection status Active.

    The analytics.crma-beta server in the registry with Active connection status.
  3. Create an Agentforce Employee Agent named crma_mcp.

    For the subagents, actions, and rules that the agent definition sets up, see CRM Analytics with Agentforce Coworker (Beta).

    1. From Agentforce Studio, open Agents and click New Agent.
      The Agents list in Agentforce Studio with New Agent highlighted.
    2. Create the agent from the Employee Agent template.
    3. To switch to script view in Agentforce Builder, click the code icon in the upper right.

      The code icon in Agentforce Builder.

    4. Replace the contents of the script with the definition in CRM Analytics Agent Definition for Agentforce Coworker.
    5. Save your work.
  4. Turn on the agent for Coworker.
    1. Open the crma_mcp agent, and then open Agent Settings.
    2. To make the agent available to Coworker's Search Agent, turn on the agent for all relevant channels and connections.
    3. Activate the agent, and then click Commit Version.

    A draft version isn't live. Confirm that the agent is active and appears in the list of agents in Agentforce Studio.

  5. Open Agentforce Coworker and ask a CRM Analytics question.

    Coworker routes your question to the crma_mcp agent, which calls the crma-beta MCP tools and returns results based on your data. Replace the names in these examples with assets in your org.

    • "List my CRM Analytics dashboards and summarize the Sales Analytics Home dashboard."
    • "What datasets are in the Demo Assets app?"
    • "Run a SAQL query on the Opportunity dataset to get the total Amount by StageName."

    If the setup works, Coworker returns the dashboards, datasets, and query results that you have access to in CRM Analytics.

For access, security, and billing considerations and fixes for common problems, see Considerations and Troubleshooting for CRM Analytics in Coworker.

 
読み込み中
Salesforce Help | Article