> ## Documentation Index
> Fetch the complete documentation index at: https://docs.rippit.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Salesforce Agentforce

> Connect Rippit to a Salesforce Agentforce agent through the Agentforce Registry.

An Agentforce agent can call Rippit as a remote MCP server. Outbound Agentforce MCP registrations do not support browser OAuth with dynamic client registration, so setup uses a Rippit personal access token with the `mcp` scope stored in a Salesforce External Credential.

## Create a Rippit token

1. As a Rippit [workspace admin](https://docs.rippit.com/api-reference/authentication.md#roles), create a personal access token scoped to MCP:

```sh theme={null}
rippit token create --scope mcp
```

2. Copy the token right away (it is shown only once) and store it securely until you paste it into Salesforce. Never paste tokens into chats or commit them to source code.

## Configure the credential in Salesforce

1. In Salesforce **Setup**, go to **Named Credentials**, open the **External Credentials** tab, and select **New**.
2. Set **Label** and **Name** (for example, `Rippit_MCP`), set **Authentication Protocol** to **Custom**, and save.
3. Under **Principals**, create a named principal (for example, `RippitPrincipal`) and add an **Authentication Parameter** named `AccessToken` with your Rippit token as the value.
4. Under **Custom Headers**, select **New** and add:

| Field | Value |
| - | - |
| Name | `Authorization` |
| Value | `{!'Bearer ' & $Credential.Rippit_MCP.AccessToken}` |

5. Create a **Named Credential** pointing to `https://mcp.rippit.com/mcp` that references your `Rippit_MCP` External Credential.
6. In the **Permission Set** assigned to your Agentforce agent or users, grant **External Credential Principal Access** for `Rippit_MCP` (`RippitPrincipal`).

## Add Rippit in the Agentforce Registry

1. In Salesforce **Setup**, open **Agentforce**, then **Agentforce Registry** (or **API Catalog**, then **MCP Servers**), and select **Add MCP Server**.
2. Fill in:

| Field | Value |
| - | - |
| Name | `Rippit` |
| Server URL | `https://mcp.rippit.com/mcp` |
| Transport | Streamable HTTP |
| Authentication | Your `Rippit_MCP` External Credential / Named Credential |

3. Save and refresh the server to discover Rippit's tools.
4. Allowlist the specific tools you want the agent to use, then add them as actions to your agent in **Agent Builder**.

## Things to know

**Calls run as the token creator.** Every Agentforce request to Rippit uses the Rippit permissions of the account that created the token, not the individual Salesforce user. When rotating credentials, revoke the old token with `rippit token revoke <id>`.

**Allowlist read tools narrowly.** Expose only the read and analysis tools your agent needs rather than write or pipeline tools.

## Next steps

* [What Rippit can do for AI assistants](https://docs.rippit.com/mcp-server/overview.md#what-rippit-can-do-for-ai-assistants)
* [Authentication](https://docs.rippit.com/api-reference/authentication.md)
* [Troubleshooting](https://docs.rippit.com/troubleshooting.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.