# Salesforce (Remote)

{% hint style="warning" %}
**Early Access** — Reach out to your Natoma representative for access.
{% endhint %}

**Type:** Official

**Source Type:** Remote URL

**Source:** Salesforce native MCP endpoint (varies by org)

**Description:** Salesforce (Remote) MCP server connects AI assistants to your Salesforce org via Salesforce's native remote MCP integration. It enables querying and updating standard and custom objects, running SOQL, and interacting with platform metadata through an admin-supplied Connected App.

***

## Setup

### Admin Setup (one-time)

1. Log in to Salesforce as an admin.
2. Navigate to **Setup → App Manager** and click **New Connected App** > **Create a Connected App**.
3. Fill in:
   * **Connected App Name:** `Natoma MCP`
   * **API Name:** `Natoma_MCP`
   * **Contact Email:** your email address
4. Under **API (Enable OAuth Settings)**:
   * Check **Enable OAuth Settings**.
   * Set the **Callback URL** to:

{% hint style="warning" %}
Use exactly this callback URL — Salesforce will reject the OAuth flow if it doesn't match.
{% endhint %}

```
https://api.natoma.app/mcp/server/callback
```

* Add these **OAuth Scopes**:
  * `Manage user data via APIs (api)`
  * `Perform requests at any time (refresh_token, offline_access)`
  * `Access the Salesforce API Platform (sfap_api)`

5. Click **Save**, then **Continue**.
6. Click **Manage Consumer Details** to retrieve the **Consumer Key** (Client ID) and **Consumer Secret** (Client Secret).

In Natoma, an admin adds **Salesforce (Remote)** under **Apps** and enters the **Client ID** and **Client Secret**.

### Authorize Your Connection

When prompted while creating the connection in Natoma, click **Authorize**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.natoma.ai/apps/salesforce-remote.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
