Skip to main content

Connect to the Zocks MCP Server with Salesforce Agentforce

Set up the Zocks MCP Server in Salesforce Agentforce as a Salesforce admin, so your firm can build agents that use Zocks client intelligence.

Admin setup: This guide is for Salesforce administrators. A System Administrator sets up Zocks in Agentforce once for the whole org, in about 30 minutes. Advisors don't set anything up: they only sign in to Zocks the first time they use the agent.

This guide covers everything to do after installing the Zocks MCP package: connect Salesforce to Zocks, add the Zocks tools to an Agentforce agent, and give advisors access.

Build Agentforce agents that use Zocks client intelligence

Firms build Agentforce agents that draw on what clients actually said, not just what's in CRM. For example:

  • Opportunity discovery agent: finds money in motion and life events clients mentioned across the book, like an old 401(k), an inheritance, a business sale or a home purchase. Routes each one to the right team as an opportunity: rollover, insurance, lending or trust.

  • Service case agent: when a client request reaches the service team, adds the client's current priorities and relevant documents to the case, sets its urgency, and drafts the reply for the rep.

  • Life-event campaign agent: builds audiences from what clients actually said, like retiring in two years, a child starting college or a new grandchild. Feeds them into the firm's marketing journeys and events.

  • Book health agent: combines sentiment trends and topic coverage with accounts and service history to flag at-risk households and coverage gaps by advisor, then assigns retention or coaching actions.

How it works

  • The Zocks MCP package connects your Salesforce org to the Zocks MCP server.

  • Each advisor signs in with their own Zocks account the first time they use it. Agentforce then acts on that advisor's behalf, so advisors only see the Zocks data their own account can access.

  • No Zocks data is stored in Salesforce. Agentforce fetches it from Zocks when it needs it.

To learn more about the MCP server itself, see Zocks MCP Server knowledge base.

Who does what

  • Zocks admin: enables the app in the Zocks App Library.

  • Salesforce admin: connects Salesforce to Zocks, creates the agent and gives advisors access (steps 1–5 below).

  • Advisors: sign in with their own Zocks account once, the first time they use the agent.

Before you start

You need:

  • Agentforce enabled in Zocks. A Zocks admin enables the app in Settings → Integrations → Apps and sets Roles with access so your advisors can connect. See Zocks App Library.

  • A Salesforce org with Agentforce enabled, including Agentforce Studio. If you don't see Agentforce Studio in the App Launcher, contact your Salesforce account team.

  • Lightning Experience, and a System Administrator user to do the setup.

  • The Zocks MCP package installed. The installer assigns the Zocks permission sets to the installing admin automatically.

  • A Zocks account for yourself, to test the connection.

Admin setup in Salesforce

A Salesforce System Administrator does these five steps once for the whole org.

Step 1: Get your Zocks client credentials

Salesforce needs a client ID and client secret to connect to Zocks.

  1. In Setup, enter Named Credentials in the Quick Find box and select Named Credentials.

  2. Open the External Auth Identity Providers tab and click zocksmcp.

  3. Copy the Callback URL shown on the page.

  4. Send the callback URL to Zocks support at [email protected] and ask for Zocks MCP client credentials for Salesforce.

Zocks sends you a client ID and a client secret.

Please note: Treat the client secret like a password. Don't forward it by email or store it in shared documents.

Step 2: Enter the credentials in Salesforce

Until you complete this step, the Zocks MCP server shows as Disconnected.

Important: Only enter the client ID and secret. Leave everything else as installed, including the URLs, the PKCE setting and Client Authentication, because the connection depends on them.

  1. In Setup, go to Named Credentials → External Auth Identity Providers, open zocksmcp and click Edit.

  2. Paste the Client ID and Client Secret from step 1.

  3. Click Save.

Step 3: Connect your Zocks account and add the tools

Every user connects their own Zocks account, including you. Until you do, the Zocks MCP server shows Server Disconnected for you, even with the credentials from step 2 saved.

Connect your Zocks account:

  1. Click your profile picture in the top-right corner, then Settings.

  2. Under My Personal Information, select External Credentials.

  3. Next to zocksmcp, click Allow Access and sign in with your Zocks account in the window that opens.

Add the Zocks tools:

  1. In Setup, enter MCP in the Quick Find box and select Registered MCP Servers.

  2. Open zocksmcp. The connection status should now read Active.

  3. Click Manage Tools.

  4. Review the tools and their risk ratings, then add all tools. A risk flag usually means a tool's description is broad, not that the tool is dangerous. If asked, tick the acknowledgment checkbox.

  5. Click Save, even if all tools already look selected.

Please note: Saving is what creates the tools as actions in Setup → Agentforce Assets → Tools, named like meetings_list_past_meetings - zocksmcp. Until you save, the agent builder in step 4 doesn't list any Zocks tools.

What the Zocks tools do:

Tool

What it does

Search Contacts / Get Contact Details

Find clients and prospects in Zocks

List Account Users / Get User

Look up advisors in your firm

List Past Meetings / List Upcoming Meetings

Browse meetings

Get Meeting Transcript

Read a meeting's transcript

List AI Results / Get AI Result / Get Meeting Summary

Meeting summaries and other AI outputs

List Documents / Get Document Summary

Client documents processed by Zocks

List Cross-Client Executions / List Cross-Client Results

Book-wide client questions

List Client Signals / Get Client Signal

Life and relationship events detected about clients

Query Insights

Firmwide and per-advisor analytics

Step 4: Create the agent

Add the Zocks tools to an Agentforce employee agent: the kind advisors use inside Salesforce, which acts as the signed-in user.

  1. Open the App Launcher, then go to Agentforce Studio → Agents → New Agent.

  2. Choose an employee agent type.

    • If the setup asks you to select or create an agent user, you've picked the wrong type. Go back and choose an employee agent. Agents with their own agent user can't act as the advisor, and Zocks calls fail with "access forbidden".

  3. Add a subagent:

    • Name: Zocks

    • Description: Answers questions about the advisor's Zocks meetings, contacts, transcripts, AI results, documents and client signals.

  4. Add these instructions to the subagent, so the agent fills in the tools correctly:

    • When the user asks about their own meetings, pass advisor_id as exactly the text {user_id}. Never replace it or fill it in.

    • Only set from_date or to_date when the user names specific dates.

    • Never make up IDs. To find a contact, call Search Contacts first and use the ID it returns.

  5. Add all zocksmcp tools to the subagent and save.

  6. Test in Preview: ask "What are my upcoming meetings?" The answer should list your own Zocks meetings.

  7. In the builder header, click Commit Version, then Activate. Activate only appears after you commit.

Please note: An activated version can't be edited. To make changes later, create a new version, then commit and activate it.

Step 5: Give advisors access

Advisors need three permission sets:

Permission set

Purpose

Created by

zocksmcp - Permission Set

Allows connecting to Zocks with their own account

The package

zocksmcp - User External Credential Access

Allows Salesforce to store each advisor's Zocks sign-in

The package installer

Zocks Agent Access

Makes the agent from step 4 visible

You, below

Create the agent access permission set:

  1. In Setup, go to Permission Sets and click New.

  2. Set Label to Zocks Agent Access and save.

  3. Under Apps, open Agent Access → Edit, move your Zocks agent to Enabled Agents, and save.

Assign the permission sets:

Assign all three permission sets to each advisor, and to yourself: Setup → Users → open the user → Permission Set Assignments → Edit Assignments.

Please note: The installer has already assigned the first two permission sets to you and to the Platform Integration User, a system user Agentforce uses behind the scenes. Don't remove them from that user.

First use by an advisor

Each advisor signs in to Zocks once. Salesforce remembers the sign-in after that.

  1. Open a Lightning app, such as Sales.

  2. Click the Agentforce icon in the top-right header and choose the Zocks agent if asked.

  3. Ask: "What are my upcoming meetings?"

  4. The first time, the agent replies "Please login and try again" with a link. Click it and sign in with your Zocks account.

  5. Ask the question again.

Connect ahead of time

Advisors can also connect before their first question, the same way you did in step 3: Settings → My Personal Information → External Credentials, then Allow Access next to zocksmcp.


Troubleshooting

The Zocks MCP server shows Disconnected

The client credentials aren't entered yet, or you haven't connected your own Zocks account. Complete step 2, then connect your account in step 3.

zocksmcp isn't listed under my External Credentials

Your user doesn't have zocksmcp - Permission Set. Assign it as described in step 5.

The sign-in window opens and closes immediately, or the status stays Authenticate

The provider settings were changed, or the credentials don't match the callback URL. Check that PKCE and Client Authentication are as installed, and that the client ID and secret are the ones Zocks issued for this org's callback URL.

Manage Tools fails with "We couldn't connect to the MCP server…"

Your user doesn't have the Zocks permission sets. Assign the first two permission sets from step 5 to yourself.

The agent says it can't access Zocks, or mentions permissions

The user doesn't have the Zocks permission sets. Assign the permission sets from step 5. In Preview, the agent's Trace shows "No Access" or "access forbidden".

Every user gets "access forbidden", and the agent has an agent user

The agent is the wrong type. Create an employee agent as described in step 4.

The agent keeps asking advisors to log in

The advisor's sign-in can't be stored. Check that the advisor has zocksmcp - User External Credential Access.

The Zocks agent isn't in the Agentforce panel

The agent isn't activated, or the user doesn't have Zocks Agent Access. Activate the agent (step 4) and assign the permission set (step 5).

An answer comes back empty, but I know the data exists

The agent sent unsuitable filters. Rephrase the question, check the subagent instructions from step 4, and look at the tool's input in the Trace.

The data shown is from the wrong Zocks account

The advisor signed in to Zocks with a different account. Sign out of that Zocks account in the browser, then sign in again from the agent's login link.

Still stuck? Email [email protected] and include a screenshot of the agent's Trace if you can.


Availability

Available on Professional and Ultimate plans. On Essentials, you can start with a free Pro trial.


Need more help?

Did this answer your question?