Salesforce Wisdom Connector
Configure the Salesforce SObject All MCP server as a custom connector in Hootsuite Wisdom.
Hootsuite Wisdom connects to Salesforce through Salesforce's SObject All MCP server. Once connected, Wisdom agents can read, create, update, and delete Salesforce records within the permissions of the authorizing user.
Setup takes about 10 minutes. It alternates between the two systems, because the Hootsuite redirect URI does not exist until the connector record is saved, and the Salesforce consumer key does not exist until the app is created.
If you do not need the full capability, change only the Server URL in Step 2 to a narrower server: platform.sobject-reads (read only, 6 tools) or platform.sobject-mutations (read, create, update, 9 tools). Every other step in this guide is identical.
Prerequisites
- A Salesforce user with the System Administrator profile, or with Customize Application and Manage Connected Apps permissions
- A Hootsuite user with access to Wisdom
- Access to the Salesforce admin's inbox (a verification code is emailed during setup)
- Your Salesforce My Domain name, found under Setup → My Domain or read from the browser address bar while logged in
There is nothing to install on either side. All configuration is done through Salesforce Setup and the Wisdom UI.
Setup order
Step 1: Activate the SObject All MCP server
- In Salesforce, click the gear icon and choose Setup.
- In Quick Find, enter
MCP, then select MCP Servers (under Integrations → API Catalog). - Select SObject All (API name
platform.sobject-all). - Click Activate in the page header, immediately to the right of the server name. The row-level action menu on the MCP Servers list contains only View Details and Copy Server URL, so there is no Activate button there.
- Confirm the header shows Server Status: Active. Activating locks the record, so any later edit requires deactivating the server first.
Copy the Server URL from the Authentication Details section, you will need it in Step 2:
https://api.salesforce.com/platform/mcp/v1/platform/sobject-all
Salesforce lists 11 tools and 2 prompts for this server (see the server's Tools tab). A healthy connector in Wisdom reads 11 tools.
Step 2: Create the connector in Hootsuite
-
Go to Wisdom → Connectors → Add custom connector.
-
Complete the top three fields only:
Field Value Name Salesforce SObject AllShort description Salesforce SObject All MCP server (read and write)Server URL https://api.salesforce.com/platform/mcp/v1/platform/sobject-all -
Leave Advanced configuration empty and click Save. The connector appears under Installed as Disabled, 0 tools, which is expected at this point.
-
Hover the connector card, click the pencil (Edit) icon, and expand Advanced configuration.
-
Use the Copy button beside Redirect URI. Always copy it from the UI: the value contains the connector's unique ID and the host varies by environment, and a single character difference produces
redirect_uri_mismatchat authorization.
Leave this dialog open, you will return to it in Step 5.
Step 3: Create the External Client App in Salesforce
-
In Setup, Quick Find
External Client App, then select External Client App Manager. -
Click New External Client App.
-
Complete Basic Information:
Field Value External Client App Name Hootsuite Wisdom MCPAPI Name Hootsuite_Wisdom_MCP(auto-fills)Contact Email Salesforce admin's email Distribution State Local -
Expand API (Enable OAuth Settings) and select Enable OAuth.
-
Callback URL: paste the redirect URI copied in Step 2. If the field already holds URIs for other connectors, leave them in place and add yours as a new line.
- OAuth Scopes: move exactly these three to Selected:
Access Salesforce hosted MCP servers (mcp_api)
Manage user data via APIs (api)
Perform requests at any time (refresh_token, offline_access)
mcp_api reaches the MCP server, api lets the record tools call your org's REST APIs, and the third enables silent token refresh. Full access (full) is not required and should not be selected.
-
Under Flow Enablement, select Enable Authorization Code and Credentials Flow. Leave Client Credentials, Device, JWT Bearer, and Token Exchange cleared.
-
Under Security, set the following:
Setting Value Require secret for Web Server Flow ✅ Require secret for Refresh Token Flow ✅ Require Proof Key for Code Exchange (PKCE) ✅ Enable Refresh Token Rotation ✅ Issue JSON Web Token (JWT)-based access tokens for named users ✅ Limit Idle Refresh Token Time-to-Live (TTL) to 30 Days ✅ Enforce Refresh Token IP Allowlist ☐ PKCE, Refresh Token Rotation, and the 30-day idle TTL may already be enabled and locked, with the message "To change this required setting, contact Support." That reflects an org-wide security baseline and matches the configuration above, so no action is needed.
-
Click Create.
Step 4: Check the app policies
- On the app's detail page, open the Policies tab and expand OAuth Policies.
- Confirm Permitted Users is
All users can self-authorize. If it is set toAdmin approved users are pre-authorized, you must also assign the app to a profile or permission set, otherwise every authorization attempt fails withOAUTH_APPROVAL_ERROR_GENERIC. - Leave IP Relaxation at
Enforce IP restrictions. This policy governs interactive user logins, not the token Hootsuite presents. - Under Named User JWT-Based Access Token Settings,
Use the user's default session timeoutis correct. - Confirm the header shows App Status: Enabled. If not, click Enable.
Step 5: Add credentials and authorize
-
On the app's Settings tab, open OAuth Settings and click Consumer Key and Secret.
-
Enter the verification code emailed to the admin address.
-
Copy the Consumer Key and Consumer Secret. Use the Copy buttons rather than selecting text by hand, and paste the secret straight into Hootsuite. Do not route it through email, chat, tickets, or shared documents.
-
Return to the Hootsuite Edit connector dialog from Step 2 and complete Advanced configuration:
Field Value Client ID Consumer Key Client secret Consumer Secret Token URL https://<MY_DOMAIN>.my.salesforce.com/services/oauth2/tokenAuthorization URL https://<MY_DOMAIN>.my.salesforce.com/services/oauth2/authorizeScope mcp_api api refresh_tokenUse PKCE ON (defaults to off, you must enable it) Use HTTP Basic Auth OFF The consumer secret is 64 uppercase hexadecimal characters. Hootsuite masks the field and accepts a truncated value without complaint, and authorization will still appear to succeed: the connector only fails later, when the first token refresh is rejected. If the masked value looks noticeably shorter than 64 characters, clear it and paste again.
-
Click Save, then click Connect on the connector card and approve the Salesforce authorization prompt.
-
Reload the page, open the Installed tab, and switch the connector on.
Expected result: the card reads Active, 11 tools.
Step 6: Pick a compatible agent
A connector that reads Active with a full tool count can still appear to do nothing, because not every Wisdom sub-agent reaches Salesforce tools.
- Open a new chat in Wisdom.
- Use the agent selector at the bottom of the composer to choose the agent.
- Use the second selector to choose the sub-agent, and select Analytics and insights agent.
- Send a read-only prompt, for example:
Using the Salesforce connector, list the name of one Contact record. Read-only.
A working setup answers in roughly 20 seconds. With the Publishing agent selected, the same prompt stops at Working on 'Collecting Information' and never returns, with no error and nothing in the browser console or network log. Treat the sub-agent choice as part of setup rather than a preference.
Reference values
| Setting | Value |
|---|---|
| MCP server API name | platform.sobject-all |
| Server endpoint URL | https://api.salesforce.com/platform/mcp/v1/platform/sobject-all |
| Token URL | https://<MY_DOMAIN>.my.salesforce.com/services/oauth2/token |
| Authorization URL | https://<MY_DOMAIN>.my.salesforce.com/services/oauth2/authorize |
| Hootsuite scope string | mcp_api api refresh_token |
| Salesforce OAuth scopes | mcp_api, api, refresh_token / offline_access |
| Callback URL | Copy from the connector's Redirect URI field, one URI per line |
| Expected tool count | 11 |
Troubleshooting
| Symptom | Cause | Resolution |
|---|---|---|
| Connector reads Unavailable, 0 tools right after it is created | The MCP server is still Inactive in Salesforce | Activate the server (Step 1). No Wisdom-side change fixes this |
redirect_uri_mismatch | Callback URL does not match Hootsuite's redirect URI exactly, or the line was overwritten | Re-copy from the Redirect URI field and check for a trailing slash |
invalid_request: missing required code challenge | Use PKCE is off in Hootsuite | Enable it (Step 5) |
OAUTH_APPROVAL_ERROR_GENERIC | Permitted Users is admin-approved only, or the Client ID belongs to a different app | Review Step 4 and confirm the Client ID matches this app's Consumer Key |
| Connected but 0 tools / "Couldn't load tools" | The stored token is rejected: either the JWT setting is off, or the client secret is wrong or truncated | Confirm the JWT setting and the secret, then rebuild the connector. Reconnect will not fix this |
| Reconnect does nothing, no popup and no error | Known Wisdom defect: the verify check returns success without validating the token | Rebuild the connector (below) |
Prompt stalls at Working on 'Collecting Information' | The selected sub-agent does not reach the connector's tools | Switch the sub-agent to Analytics and insights agent (Step 6) |
| Agent reports a record was created, but the record is empty | Known Wisdom defect on the write path: a partial write is reported as success | Verify every write in Salesforce rather than trusting the agent's confirmation |
The UI collapses every upstream failure into "Couldn't load tools". To see the real error, open your browser's developer tools, go to the Network tab, and reload the Connectors page: the request for the connector's tool list returns 424 Failed Dependency with a body naming the Salesforce error. 401 Unauthorized ... Invalid token means the token was rejected, which is a token problem rather than a configuration problem, and editing app settings will not clear it.
Salesforce Login History (Setup → Quick Find Login History) records every authorization attempt with its failure reason. Check it before changing configuration.
Rebuilding a broken connector
Changing Salesforce settings does not invalidate a token that has already been issued, and neither Reconnect nor the enable toggle re-runs authorization. A connector holding a dead token must be deleted and recreated. Rebuilding assigns a new redirect URI, so the Callback URL in Salesforce must be updated before authorization will succeed.
- Record the current Advanced configuration values: Server URL, Client ID, Token URL, Authorization URL, and Scope.
- In Wisdom → Connectors → Installed, delete the connector.
- Click Add custom connector, re-enter Name, Short description, and Server URL, then Save.
- Open the new card's pencil (Edit) icon, expand Advanced configuration, and copy the new Redirect URI. Do not reuse the old one.
- In Salesforce, open the External Client App → Settings → OAuth Settings → Edit, add the new redirect URI on its own line, remove only the old line belonging to this connector, and Save.
- Complete the remaining Hootsuite fields as in Step 5, including a freshly copied Consumer Secret, and confirm Use PKCE is ON immediately before saving.
- Save, click Reconnect, and approve the Salesforce prompt. A popup should open. If nothing opens, the connector was not recreated cleanly.
- Confirm the card reads Active, 11 tools.
As cleanup, revoke the old grant in Salesforce under avatar → Settings → Advanced User Details → OAuth Apps. This is hygiene rather than a fix: revoking alone does not restore a connector.
Security notes
The connector operates under the permissions of the Salesforce user who authorizes it. Tool calls cannot read data or perform actions that user is not entitled to, so scope the authorizing user's profile accordingly rather than relying on the connector for least privilege.
Least privilege is chosen at the server, not in Wisdom:
| Server | Tools | Capability |
|---|---|---|
platform.sobject-reads | 6 | Read only |
platform.sobject-mutations | 9 | Read, create, update |
platform.sobject-all | 11 | Read, create, update, delete |
Switching between them is a single change to the Server URL in Step 2.
Wisdom has been observed reporting a successful record creation when the record actually landed incomplete, created with a name only and every other field blank. Until that is fixed, confirm each write in Salesforce and keep early testing to records you can afford to discard.
Refresh Token Rotation and the 30-day idle TTL are both recommended: with rotation enabled, a leaked refresh token is invalidated the next time Hootsuite refreshes. In orgs where these settings are locked on and greyed out, that reflects an org-wide baseline and no action is needed.