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

# Salesforce Connector

Connect Salesforce to LendPathway to sync Opportunities and push parsed analytics back to your CRM.

<Tip>
  Once connected, the [chat engine](/platform/chat-engine) can query your Salesforce data with SOQL and pull records into its sandbox, scoped to your access. The connector handles the sync; the agent handles ad-hoc questions across it.
</Tip>

## Create a connected app in Salesforce

LendPathway needs a Connected App to authenticate. This is a one-time setup in Salesforce.

1. In Salesforce, click the **gear icon** → **Setup**

<Frame>
  <img src="https://mintcdn.com/pathwaysystemsllc/cA55981Rl4afkxW_/images/Screenshot2026-03-17at8.13.30PM.png?fit=max&auto=format&n=cA55981Rl4afkxW_&q=85&s=e5622c2bcd217d6a1375184709de8260" alt="Screenshot2026 03 17at8 11 42PM" title="Screenshot2026 03 17at8 11 42PM" lightAlt="Screenshot2026 03 17at8 11 42PM" darkAlt="Screenshot2026 03 17at8 11 42PM" className="hidden dark:block" width="3420" height="1084" data-path="images/Screenshot2026-03-17at8.13.30PM.png" />

  <img src="https://mintcdn.com/pathwaysystemsllc/cA55981Rl4afkxW_/images/Screenshot2026-03-17at8.13.30PM-1.png?fit=max&auto=format&n=cA55981Rl4afkxW_&q=85&s=998b5aad1e0c831877f25c6c4f7413d4" alt="Screenshot2026 03 17at8 11 42PM" title="Screenshot2026 03 17at8 11 42PM" lightAlt="Screenshot2026 03 17at8 11 42PM" darkAlt="Screenshot2026 03 17at8 11 42PM" className="dark:hidden" width="3420" height="1084" data-path="images/Screenshot2026-03-17at8.13.30PM-1.png" />
</Frame>

2. Search **App Manager** in Quick Find, click it
   <Frame>
     <img src="https://mintcdn.com/pathwaysystemsllc/cA55981Rl4afkxW_/images/Screenshot2026-03-17at8.15.46PM.png?fit=max&auto=format&n=cA55981Rl4afkxW_&q=85&s=ce5211f5785c17e2ad93f5e26018d58c" alt="Screenshot2026 03 17at8 15 46PM" width="3420" height="1148" data-path="images/Screenshot2026-03-17at8.15.46PM.png" />
   </Frame>
3. Click **"New External Client App"**
   <Frame>
     <img src="https://mintcdn.com/pathwaysystemsllc/cA55981Rl4afkxW_/images/Screenshot2026-03-17at8.18.22PM.png?fit=max&auto=format&n=cA55981Rl4afkxW_&q=85&s=631427ca3326fcb4c16e4a73693256a2" alt="Screenshot2026 03 17at8 18 22PM" width="2900" height="336" data-path="images/Screenshot2026-03-17at8.18.22PM.png" />
   </Frame>
4. Fill in:
   * **Connected App Name**: `LendPathway`
   * **Contact Email**: your email
   <Frame>
     <img src="https://mintcdn.com/pathwaysystemsllc/cA55981Rl4afkxW_/images/Screenshot2026-03-17at8.20.15PM.png?fit=max&auto=format&n=cA55981Rl4afkxW_&q=85&s=4b8aa5cd676c95158d16f4442ac1c726" alt="Screenshot2026 03 17at8 20 15PM" width="2618" height="1166" data-path="images/Screenshot2026-03-17at8.20.15PM.png" />
   </Frame>
5. Check **Enable OAuth Settings** and configure:
   * **Callback URL**: `https://api.lendpathway.com/api/salesforce/callback`
   * **OAuth Scopes**: Enable OAuth and grant access to scopes. We recommend granting **All scopes**.
   * Check **“Introspect all Tokens”** to True.

<Frame>
  <img src="https://mintcdn.com/pathwaysystemsllc/cA55981Rl4afkxW_/images/Screenshot2026-03-17at8.24.26PM.png?fit=max&auto=format&n=cA55981Rl4afkxW_&q=85&s=6a36e9ed86494a0c38a8e690280ab589" alt="Screenshot2026 03 17at8 24 26PM" width="2864" height="1258" data-path="images/Screenshot2026-03-17at8.24.26PM.png" />
</Frame>

6. Use the following **Flow Enablement** and **Security** settings:
   <Frame>
     <img src="https://mintcdn.com/pathwaysystemsllc/cA55981Rl4afkxW_/images/Screenshot2026-03-17at8.53.11PM.png?fit=max&auto=format&n=cA55981Rl4afkxW_&q=85&s=205d772462e51b4739729a55e92bb1fb" alt="Screenshot2026 03 17at8 53 11PM" width="2882" height="1052" data-path="images/Screenshot2026-03-17at8.53.11PM.png" />
   </Frame>
7. Click **Create**. Wait 2-10 minutes for Salesforce to propagate.
8. Go back to **App Manager** → find your app → **View** → **Manage Consumer Details**. Copy the **Consumer Key** and **Consumer Secret**.

<Frame>
  <img src="https://mintcdn.com/pathwaysystemsllc/cA55981Rl4afkxW_/images/Screenshot2026-03-17at8.55.52PM.png?fit=max&auto=format&n=cA55981Rl4afkxW_&q=85&s=f2722266755cecd6971020036a733032" alt="Screenshot2026 03 17at8 55 52PM" width="1666" height="998" data-path="images/Screenshot2026-03-17at8.55.52PM.png" />
</Frame>

9. Authenticate
   <Frame>
     <img src="https://mintcdn.com/pathwaysystemsllc/cA55981Rl4afkxW_/images/Screenshot2026-03-17at8.56.43PM.png?fit=max&auto=format&n=cA55981Rl4afkxW_&q=85&s=07c7953b28225288f7ae09403271c200" alt="Screenshot2026 03 17at8 56 43PM" width="1260" height="1302" data-path="images/Screenshot2026-03-17at8.56.43PM.png" />
   </Frame>
10. Copy the **Consumer Key** and **Consumer Secret**, you’ll need them for the following steps.
    <Frame>
      <img src="https://mintcdn.com/pathwaysystemsllc/cA55981Rl4afkxW_/images/Screenshot2026-03-17at8.59.14PM.png?fit=max&auto=format&n=cA55981Rl4afkxW_&q=85&s=8373fe55e90176bfaf1d67c23e881aac" alt="Screenshot2026 03 17at8 59 14PM" width="1944" height="1006" data-path="images/Screenshot2026-03-17at8.59.14PM.png" />
    </Frame>

## **Connect in LendPathway**

1. Go to **Connectors → Integrations** in the sidebar, click the **Salesforce** card
2. Enter your **Client ID** (Consumer Key), **Client Secret** (Consumer Secret), and optionally a **Login URL**
3. Click **Save & Continue**
4. Click **Authenticate with Salesforce**. Log in in the popup and click **Allow**. The popup closes and you'll see a green **Connected** confirmation.

<Frame>
  <img src="https://mintcdn.com/pathwaysystemsllc/cA55981Rl4afkxW_/images/Screenshot2026-03-17at9.04.12PM-1.png?fit=max&auto=format&n=cA55981Rl4afkxW_&q=85&s=294b7a8d1f948364819625105119da35" alt="Screenshot2026 03 17at9 04 12PM 1" title="Screenshot2026 03 17at9 04 12PM 1" lightAlt="Screenshot2026 03 17at9 04 12PM 1" darkAlt="Screenshot2026 03 17at9 04 12PM 1" className="hidden dark:block hidden dark:block hidden dark:block" width="3420" height="1968" data-path="images/Screenshot2026-03-17at9.04.12PM-1.png" />

  <img src="https://mintcdn.com/pathwaysystemsllc/3t8vcz9_trG5d0ki/images/Screenshot2026-03-17at9.05.24PM-3.png?fit=max&auto=format&n=3t8vcz9_trG5d0ki&q=85&s=a644c6997faefd64f283be881968d620" alt="Screenshot2026 03 17at9 04 12PM 1" title="Screenshot2026 03 17at9 04 12PM 1" lightAlt="Screenshot2026 03 17at9 04 12PM 1" darkAlt="Screenshot2026 03 17at9 04 12PM 1" className="hidden dark:block hidden dark:block dark:hidden" width="3420" height="1968" data-path="images/Screenshot2026-03-17at9.05.24PM-3.png" />

  <img src="https://mintcdn.com/pathwaysystemsllc/GSakpI43BcttVQWb/images/Screenshot2026-03-17at9.05.24PM-2.png?fit=max&auto=format&n=GSakpI43BcttVQWb&q=85&s=bf6b764dee22a67f21125c44b1aa9279" alt="Screenshot2026 03 17at9 04 12PM 1" title="Screenshot2026 03 17at9 04 12PM 1" lightAlt="Screenshot2026 03 17at9 04 12PM 1" darkAlt="Screenshot2026 03 17at9 04 12PM 1" className="hidden dark:block dark:hidden" width="3420" height="1968" data-path="images/Screenshot2026-03-17at9.05.24PM-2.png" />

  <img src="https://mintcdn.com/pathwaysystemsllc/cA55981Rl4afkxW_/images/Screenshot2026-03-17at9.05.24PM-1.png?fit=max&auto=format&n=cA55981Rl4afkxW_&q=85&s=17bf764557d6362ee16723f5213f7338" alt="Screenshot2026 03 17at9 04 12PM 1" title="Screenshot2026 03 17at9 04 12PM 1" lightAlt="Screenshot2026 03 17at9 04 12PM 1" darkAlt="Screenshot2026 03 17at9 04 12PM 1" className="dark:hidden" width="3420" height="1968" data-path="images/Screenshot2026-03-17at9.05.24PM-1.png" />
</Frame>

***

# Once connected

## Browsing Opportunities

Once connected, click **Salesforce** in the sidebar to open the Opportunities page.

The page shows a paginated list of your Salesforce Opportunities. Use the toolbar to:

* **Filter by stage** — multi-select from your org's stage values
* **Filter by owner** — narrow to a specific rep
* **Search** — find Opportunities by name
* **Sort** — by recently modified or oldest created
* **Refresh** — clear cached data and reload from Salesforce

Click any Opportunity to open a detail panel on the right showing its attached files.

<Frame>
  <img src="https://mintcdn.com/pathwaysystemsllc/iks1f5kujlXKDXX8/images/Screenshot2026-03-24at6.08.25PM.png?fit=max&auto=format&n=iks1f5kujlXKDXX8&q=85&s=c04578c68b538be0b0361a2e66dd11c3" alt="Screenshot2026 03 24at6 08 25PM" title="Screenshot2026 03 24at6 08 25PM" lightAlt="Screenshot2026 03 24at6 08 25PM" darkAlt="Screenshot2026 03 24at6 08 25PM" className="hidden dark:block" width="3418" height="1964" data-path="images/Screenshot2026-03-24at6.08.25PM.png" />

  <img src="https://mintcdn.com/pathwaysystemsllc/iks1f5kujlXKDXX8/images/Screenshot2026-03-24at6.08.38PM.png?fit=max&auto=format&n=iks1f5kujlXKDXX8&q=85&s=46c44f1a61ef69f61f1cf5a98865914e" alt="Screenshot2026 03 24at6 08 25PM" title="Screenshot2026 03 24at6 08 25PM" lightAlt="Screenshot2026 03 24at6 08 25PM" darkAlt="Screenshot2026 03 24at6 08 25PM" className="dark:hidden" width="3418" height="1970" data-path="images/Screenshot2026-03-24at6.08.38PM.png" />
</Frame>

## **Creating a Book from an Opportunity**

From the detail panel of any Opportunity:

1. Click **Create Book**
2. Optionally check **Auto-parse** — this starts parsing immediately and pushes results back to Salesforce when done
3. LendPathway downloads all files attached to the Opportunity, creates a book, and uploads them

If Auto-parse is off, the book is created with the files but you'll need to click Parse manually.

<Frame>
  <img src="https://mintcdn.com/pathwaysystemsllc/iks1f5kujlXKDXX8/images/Screenshot2026-03-24at6.09.57PM.png?fit=max&auto=format&n=iks1f5kujlXKDXX8&q=85&s=20889ad25f1bc783da4b90c1e33c00e7" alt="Screenshot2026 03 24at6 09 57PM" title="Screenshot2026 03 24at6 09 57PM" lightAlt="Screenshot2026 03 24at6 09 57PM" darkAlt="Screenshot2026 03 24at6 09 57PM" className="hidden dark:block" width="3420" height="1968" data-path="images/Screenshot2026-03-24at6.09.57PM.png" />

  <img src="https://mintcdn.com/pathwaysystemsllc/iks1f5kujlXKDXX8/images/Screenshot2026-03-24at6.10.35PM.png?fit=max&auto=format&n=iks1f5kujlXKDXX8&q=85&s=d4c917f7f1feb90531ecc9a138f2155d" alt="Screenshot2026 03 24at6 09 57PM" title="Screenshot2026 03 24at6 09 57PM" lightAlt="Screenshot2026 03 24at6 09 57PM" darkAlt="Screenshot2026 03 24at6 09 57PM" className="dark:hidden" width="3420" height="1970" data-path="images/Screenshot2026-03-24at6.10.35PM.png" />
</Frame>

## Field Mappings

Field mappings control which LendPathway metrics get pushed to which Salesforce Opportunity fields.

1. On the **Salesforce** page, click **Configure Attributes** in the top-right toolbar
2. For each metric, select the target Salesforce field from the dropdown
3. LendPathway validates type compatibility — currency metrics can map to currency, double, or text fields; number metrics to number, double, or text fields; and so on
4. Click **Save**

   <Frame>
     <img src="https://mintcdn.com/pathwaysystemsllc/iks1f5kujlXKDXX8/images/Screenshot2026-03-24at6.12.42PM.png?fit=max&auto=format&n=iks1f5kujlXKDXX8&q=85&s=52c25392a7462058f4dcdb3a90a74a6a" alt="Screenshot2026 03 24at6 12 42PM" title="Screenshot2026 03 24at6 12 42PM" lightAlt="Screenshot2026 03 24at6 12 42PM" darkAlt="Screenshot2026 03 24at6 12 42PM" className="hidden dark:block" width="3420" height="1968" data-path="images/Screenshot2026-03-24at6.12.42PM.png" />

     <img src="https://mintcdn.com/pathwaysystemsllc/iks1f5kujlXKDXX8/images/Screenshot2026-03-24at6.12.10PM.png?fit=max&auto=format&n=iks1f5kujlXKDXX8&q=85&s=27b2ed5998d2354780cbff9797613987" alt="Screenshot2026 03 24at6 12 42PM" title="Screenshot2026 03 24at6 12 42PM" lightAlt="Screenshot2026 03 24at6 12 42PM" darkAlt="Screenshot2026 03 24at6 12 42PM" className="dark:hidden" width="3420" height="1968" data-path="images/Screenshot2026-03-24at6.12.10PM.png" />
   </Frame>

<Frame>
  <img src="https://mintcdn.com/pathwaysystemsllc/iks1f5kujlXKDXX8/images/Screenshot2026-03-24at6.14.00PM.png?fit=max&auto=format&n=iks1f5kujlXKDXX8&q=85&s=e1a395c2d4eb97f3e72f4adfe50ed57e" alt="Screenshot2026 03 24at6 14 00PM" title="Screenshot2026 03 24at6 14 00PM" lightAlt="Screenshot2026 03 24at6 14 00PM" darkAlt="Screenshot2026 03 24at6 14 00PM" className="hidden dark:block" width="1354" height="910" data-path="images/Screenshot2026-03-24at6.14.00PM.png" />

  <img src="https://mintcdn.com/pathwaysystemsllc/iks1f5kujlXKDXX8/images/Screenshot2026-03-24at6.14.44PM.png?fit=max&auto=format&n=iks1f5kujlXKDXX8&q=85&s=5196757148ede612f71bafbf5f2caa68" alt="Screenshot2026 03 24at6 14 00PM" title="Screenshot2026 03 24at6 14 00PM" lightAlt="Screenshot2026 03 24at6 14 00PM" darkAlt="Screenshot2026 03 24at6 14 00PM" className="dark:hidden" width="1350" height="906" data-path="images/Screenshot2026-03-24at6.14.44PM.png" />
</Frame>

## Pushing Results

After a book is parsed, there are two ways to push analytics to Salesforce:

**Manual** — Open the book, click the **Salesforce badge** in the top-right info badges, and confirm. Only available for books linked to a Salesforce Opportunity.

<Frame>
  <img src="https://mintcdn.com/pathwaysystemsllc/iks1f5kujlXKDXX8/images/Screenshot2026-03-24at6.17.06PM.png?fit=max&auto=format&n=iks1f5kujlXKDXX8&q=85&s=778fd8081babba9374beccf2609963dd" alt="Screenshot2026 03 24at6 17 06PM" title="Screenshot2026 03 24at6 17 06PM" lightAlt="Screenshot2026 03 24at6 17 06PM" darkAlt="Screenshot2026 03 24at6 17 06PM" className="hidden dark:block" width="3420" height="1968" data-path="images/Screenshot2026-03-24at6.17.06PM.png" />

  <img src="https://mintcdn.com/pathwaysystemsllc/iks1f5kujlXKDXX8/images/Screenshot2026-03-24at6.16.15PM.png?fit=max&auto=format&n=iks1f5kujlXKDXX8&q=85&s=c5184382d7408be297c54cbdda8fcc1d" alt="Screenshot2026 03 24at6 17 06PM" title="Screenshot2026 03 24at6 17 06PM" lightAlt="Screenshot2026 03 24at6 17 06PM" darkAlt="Screenshot2026 03 24at6 17 06PM" className="dark:hidden" width="3420" height="1970" data-path="images/Screenshot2026-03-24at6.16.15PM.png" />
</Frame>

**Automatic** — If the book was created from an Opportunity with **Auto-parse** enabled, results push automatically when parsing completes. The parse complete field (if configured in Auto-Parse settings) is set to `true`.

## Auto-Parse

Auto-parse monitors your Salesforce pipeline and automatically creates and parses books for new Opportunities — no manual intervention needed.

1. On the **Salesforce** page, click **Auto-Parse** in the top-right toolbar
2. Toggle it on and configure:
   * **Required stages** — only Opportunities in these stages are picked up
   * **Require attachments** — skip Opportunities that have no files
   * **Checkbox field** (optional) — a Salesforce checkbox field that must be `true` for the Opportunity to be picked up
   * **Parse complete field** (optional) — a Salesforce field that LendPathway sets to `true` when parsing and sync are done

LendPathway polls Salesforce every 5 minutes. Matching Opportunities are created as books, parsed, and synced back automatically.

Auto-parse creates books and consumes usage.

<Frame>
  <img src="https://mintcdn.com/pathwaysystemsllc/iks1f5kujlXKDXX8/images/Screenshot2026-03-24at6.17.48PM.png?fit=max&auto=format&n=iks1f5kujlXKDXX8&q=85&s=c688d46c370a99fc2f76d0227d8a1000" alt="Screenshot2026 03 24at6 17 48PM" title="Screenshot2026 03 24at6 17 48PM" lightAlt="Screenshot2026 03 24at6 17 48PM" darkAlt="Screenshot2026 03 24at6 17 48PM" className="hidden dark:block" width="3420" height="1968" data-path="images/Screenshot2026-03-24at6.17.48PM.png" />

  <img src="https://mintcdn.com/pathwaysystemsllc/iks1f5kujlXKDXX8/images/Screenshot2026-03-24at6.18.06PM.png?fit=max&auto=format&n=iks1f5kujlXKDXX8&q=85&s=1fbd518f43b593f23cabb2e15a6f18b9" alt="Screenshot2026 03 24at6 17 48PM" title="Screenshot2026 03 24at6 17 48PM" lightAlt="Screenshot2026 03 24at6 17 48PM" darkAlt="Screenshot2026 03 24at6 17 48PM" className="dark:hidden" width="3420" height="1970" data-path="images/Screenshot2026-03-24at6.18.06PM.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/pathwaysystemsllc/iks1f5kujlXKDXX8/images/Screenshot2026-03-24at6.18.37PM.png?fit=max&auto=format&n=iks1f5kujlXKDXX8&q=85&s=1af1ab35251cdf8977703124d5c8b350" alt="Screenshot2026 03 24at6 18 37PM" title="Screenshot2026 03 24at6 18 37PM" lightAlt="Screenshot2026 03 24at6 18 37PM" darkAlt="Screenshot2026 03 24at6 18 37PM" className="hidden dark:block" width="1020" height="1164" data-path="images/Screenshot2026-03-24at6.18.37PM.png" />

  <img src="https://mintcdn.com/pathwaysystemsllc/iks1f5kujlXKDXX8/images/Screenshot2026-03-24at6.18.22PM.png?fit=max&auto=format&n=iks1f5kujlXKDXX8&q=85&s=750a3b176b215f279107c168f3d1f570" alt="Screenshot2026 03 24at6 18 37PM" title="Screenshot2026 03 24at6 18 37PM" lightAlt="Screenshot2026 03 24at6 18 37PM" darkAlt="Screenshot2026 03 24at6 18 37PM" className="dark:hidden" width="1016" height="1160" data-path="images/Screenshot2026-03-24at6.18.22PM.png" />
</Frame>
