> ## 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.

# Integrations

> LendPathway connects to the tools your team already uses. All integrations live under the **Connectors** section in the sidebar.

***

## **Gmail**

Connect your Google account to manage email directly inside LendPathway. Each user connects their own inbox via OAuth — LendPathway never stores your password.

### **Connecting**

1. Go to the **Integrations** page (under Connectors in the sidebar)
2. Click the **Gmail** card
3. Sign in with Google and grant read and send access
4. When the popup closes, your inbox is connected

<Frame caption="Gmail Connector">
  <img alt="Screenshot2026 03 15at11 05 02PM" title="Screenshot2026 03 15at11 05 02PM" src="https://mintcdn.com/pathwaysystemsllc/Zc65a6P2vbSts01N/images/Screenshot2026-03-15at11.05.02PM.png?fit=max&auto=format&n=Zc65a6P2vbSts01N&q=85&s=24291020075e23668283d2981d1553e4" className="hidden dark:block" width="700" height="592" data-path="images/Screenshot2026-03-15at11.05.02PM.png" />

  <img alt="Screenshot2026 03 15at11 05 02PM" title="Screenshot2026 03 15at11 05 02PM" src="https://mintcdn.com/pathwaysystemsllc/Zc65a6P2vbSts01N/images/Screenshot2026-03-15at11.04.44PM.png?fit=max&auto=format&n=Zc65a6P2vbSts01N&q=85&s=bc2ef04db3161f88137816255dc3b13d" className="dark:hidden" width="700" height="588" data-path="images/Screenshot2026-03-15at11.04.44PM.png" />
</Frame>

You can disconnect at any time from the same Integrations page. Disconnecting removes stored tokens immediately.

### **What you can do**

Once connected, click **Gmail** in the sidebar to open your inbox.

<Frame caption="Gmail Inbox Tab">
  <img alt="Screenshot2026 03 17at7 58 55PM" title="Screenshot2026 03 17at7 58 55PM" lightAlt="Screenshot2026 03 17at7 58 55PM" darkAlt="Screenshot2026 03 17at7 58 55PM" src="https://mintcdn.com/pathwaysystemsllc/8RB5iZkCTQXYGyxB/images/Screenshot2026-03-17at7.58.55PM.png?fit=max&auto=format&n=8RB5iZkCTQXYGyxB&q=85&s=8f7745fa3e43d5baa82e323750f0833b" className="hidden dark:block" width="3420" height="1968" data-path="images/Screenshot2026-03-17at7.58.55PM.png" />

  <img alt="Screenshot2026 03 17at7 58 55PM" title="Screenshot2026 03 17at7 58 55PM" lightAlt="Screenshot2026 03 17at7 58 55PM" darkAlt="Screenshot2026 03 17at7 58 55PM" src="https://mintcdn.com/pathwaysystemsllc/8RB5iZkCTQXYGyxB/images/Screenshot2026-03-17at7.59.11PM.png?fit=max&auto=format&n=8RB5iZkCTQXYGyxB&q=85&s=2e69a8db5e511103f3bdfb9b0c244de3" className="dark:hidden" width="3420" height="1970" data-path="images/Screenshot2026-03-17at7.59.11PM.png" />
</Frame>

* **Browse messages** — Switch between Inbox, Sent, Starred, and Trash. Search across all messages. Filter by All or Unread.
* **Read threads** — Open any email thread and view the full conversation. Download attachments directly.
* **Send and reply** — Compose new emails or reply inline with support for CC, BCC, and file attachments.

  <Frame caption="Compose Email Within Gmail Inbox Tab">
    <img alt="Screenshot2026 03 17at8 01 15PM" title="Screenshot2026 03 17at8 01 15PM" lightAlt="Screenshot2026 03 17at8 01 15PM" darkAlt="Screenshot2026 03 17at8 01 15PM" src="https://mintcdn.com/pathwaysystemsllc/8RB5iZkCTQXYGyxB/images/Screenshot2026-03-17at8.01.15PM.png?fit=max&auto=format&n=8RB5iZkCTQXYGyxB&q=85&s=fdd3d471c27e494859883b34dd9d021b" className="hidden dark:block" width="3420" height="1968" data-path="images/Screenshot2026-03-17at8.01.15PM.png" />

    <img alt="Screenshot2026 03 17at8 01 15PM" title="Screenshot2026 03 17at8 01 15PM" lightAlt="Screenshot2026 03 17at8 01 15PM" darkAlt="Screenshot2026 03 17at8 01 15PM" src="https://mintcdn.com/pathwaysystemsllc/8RB5iZkCTQXYGyxB/images/Screenshot2026-03-17at8.02.27PM.png?fit=max&auto=format&n=8RB5iZkCTQXYGyxB&q=85&s=c9787aa5bc1a3d60edbbfb842ae18b35" className="dark:hidden" width="3420" height="1970" data-path="images/Screenshot2026-03-17at8.02.27PM.png" />
  </Frame>
* **Contacts** — LendPathway syncs contacts from the last six months of your inbox (From, To, and CC fields). You can also add contacts manually.

  <Frame caption="Contacts Button Within Gmail Inbox Tab">
    <img alt="Screenshot2026 03 17at8 05 07PM" title="Screenshot2026 03 17at8 05 07PM" lightAlt="Screenshot2026 03 17at8 05 07PM" darkAlt="Screenshot2026 03 17at8 05 07PM" src="https://mintcdn.com/pathwaysystemsllc/8RB5iZkCTQXYGyxB/images/Screenshot2026-03-17at8.05.07PM.png?fit=max&auto=format&n=8RB5iZkCTQXYGyxB&q=85&s=a51faeb03217ffcfbd820fa75bbf6598" className="hidden dark:block" width="322" height="188" data-path="images/Screenshot2026-03-17at8.05.07PM.png" />

    <img alt="Screenshot2026 03 17at8 05 07PM" title="Screenshot2026 03 17at8 05 07PM" lightAlt="Screenshot2026 03 17at8 05 07PM" darkAlt="Screenshot2026 03 17at8 05 07PM" src="https://mintcdn.com/pathwaysystemsllc/8RB5iZkCTQXYGyxB/images/Screenshot2026-03-17at8.04.40PM.png?fit=max&auto=format&n=8RB5iZkCTQXYGyxB&q=85&s=22177509820d44f88d8f1157afb38583" className="dark:hidden" width="322" height="194" data-path="images/Screenshot2026-03-17at8.04.40PM.png" />
  </Frame>

***

## **Google Drive**

Export any generated spreadsheet to Google Drive as a native Google Sheet.

### **Connecting**

1. Go to the **Integrations** page (under Connectors in the sidebar)
2. Click the **Google Drive** card
3. Authorize LendPathway to create files in your Drive

You can also connect from the **Google Drive** page itself — if you're not connected yet, a **Connect Drive** button appears at the top.

LendPathway only requests the `drive.file` scope, which limits access to files LendPathway creates. It cannot read or modify your existing Drive files.

<Frame caption="Google Drive Connector">
  <img title="Screenshot2026 03 15at10 34 03PM 1" alt="Screenshot2026 03 15at10 34 03PM 1" src="https://mintcdn.com/pathwaysystemsllc/Zc65a6P2vbSts01N/images/Screenshot2026-03-15at10.34.03PM-1.png?fit=max&auto=format&n=Zc65a6P2vbSts01N&q=85&s=deeb55f70d781672f8ce959e6b013869" className="hidden dark:block" width="734" height="596" data-path="images/Screenshot2026-03-15at10.34.03PM-1.png" />

  <img title="Screenshot2026 03 15at10 34 03PM 1" alt="Screenshot2026 03 15at10 34 03PM 1" src="https://mintcdn.com/pathwaysystemsllc/Zc65a6P2vbSts01N/images/Screenshot2026-03-15at10.34.27PM-1.png?fit=max&auto=format&n=Zc65a6P2vbSts01N&q=85&s=7cb883613db8d4d7424e75fe204fa5b1" className="dark:hidden" width="744" height="608" data-path="images/Screenshot2026-03-15at10.34.27PM-1.png" />
</Frame>

### **Exporting a spreadsheet**

1. Open a book with completed analytics
2. Go to the **Bank Spreadsheet**, **Credit Sheet**, or **Tax Sheet** tab
3. Click **Open in Drive** in the floating toolbar at the bottom
4. LendPathway uploads the workbook and converts it to a native Google Sheet
5. The Sheet opens in a new tab

Available for Excel-based templates only. If your access token expires, LendPathway refreshes it automatically — no need to reconnect.

### **Google Drive page**

Click **Google Drive** in the sidebar to see all spreadsheets LendPathway has exported to your Drive. You can search by name and click any file to open it in Google Sheets.

<Frame caption="Google Drive Page">
  <img title="Screenshot2026 03 15at10 44 46PM" alt="Screenshot2026 03 15at10 44 46PM" src="https://mintcdn.com/pathwaysystemsllc/Zc65a6P2vbSts01N/images/Screenshot2026-03-15at10.44.46PM.png?fit=max&auto=format&n=Zc65a6P2vbSts01N&q=85&s=e9c49ff225a50977f6aa5640972542fb" className="hidden dark:block" width="3420" height="1968" data-path="images/Screenshot2026-03-15at10.44.46PM.png" />

  <img title="Screenshot2026 03 15at10 44 46PM" alt="Screenshot2026 03 15at10 44 46PM" src="https://mintcdn.com/pathwaysystemsllc/Zc65a6P2vbSts01N/images/Screenshot2026-03-15at10.44.58PM.png?fit=max&auto=format&n=Zc65a6P2vbSts01N&q=85&s=0eb056d2c083ee18fb457b96d98109ff" className="dark:hidden" width="3420" height="1970" data-path="images/Screenshot2026-03-15at10.44.58PM.png" />
</Frame>

***

## **Salesforce**

Sync parsed deal data to Salesforce Opportunities. Map LendPathway metrics to your existing fields, and optionally let LendPathway auto-parse new deals as they enter your pipeline.

### **Connecting**

> [See the Salesforce Connector page for more information](https://docs.lendpathway.com/platform/salesforce-connector)

### **Browsing Opportunities**

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

* **Filter** by stage, owner, or search by name
* **Sort** by recently modified or oldest created
* **Select an Opportunity** to view its details and attached files in a side panel
* **Create a book** from an Opportunity's files — with an optional **Auto-parse** checkbox that starts parsing immediately and syncs results back to Salesforce when done

(image of the Salesforce page showing the Opportunities list with an Opportunity selected and detail panel open)

### **Field Mappings**

Map LendPathway analytics to Salesforce Opportunity fields so parsed results push back to your CRM.

1. On the **Salesforce** page, click **Configure Attributes** in the top-right toolbar
2. For each LendPathway metric, select the target Salesforce field
3. LendPathway validates that the Salesforce field type is compatible before saving

Available metrics:

| **Metric**                      | **Type** |
| :------------------------------ | :------- |
| Average Daily Balance           | Currency |
| Total Negative Days             | Number   |
| Average Negative Days (Monthly) | Number   |
| Beginning Balance               | Currency |
| Ending Balance                  | Currency |
| Total Deposits                  | Currency |
| Average Monthly Deposits        | Currency |
| Average Monthly Withdrawals     | Currency |
| Average Monthly Deposit Count   | Number   |
| Total True Revenue              | Currency |
| Average Monthly True Revenue    | Currency |
| Total Revenue Transactions      | Number   |
| Total Loan Payments             | Currency |
| Average Monthly Loan Payments   | Currency |
| Business Name                   | String   |

<Frame caption="Field Mapping Configuration Modal">
  <img src="https://mintcdn.com/pathwaysystemsllc/i8HsrLaA4sKdw_-v/images/Screenshot-2026-04-09-at-6.25.38-PM.png?fit=max&auto=format&n=i8HsrLaA4sKdw_-v&q=85&s=d157a6de2a1e243d3af675a25e9f8985" alt="Screenshot 2026 04 09 At 6 25 38 PM" title="Screenshot 2026 04 09 At 6 25 38 PM" lightAlt="Screenshot 2026 04 09 At 6 25 38 PM" darkAlt="Screenshot 2026 04 09 At 6 25 38 PM" className="hidden dark:block" width="1440" height="962" data-path="images/Screenshot-2026-04-09-at-6.25.38-PM.png" />

  <img src="https://mintcdn.com/pathwaysystemsllc/i8HsrLaA4sKdw_-v/images/Screenshot-2026-04-09-at-6.25.48-PM.png?fit=max&auto=format&n=i8HsrLaA4sKdw_-v&q=85&s=3caafb1f2b519759fc8603a04293e7d9" alt="Screenshot 2026 04 09 At 6 25 38 PM" title="Screenshot 2026 04 09 At 6 25 38 PM" lightAlt="Screenshot 2026 04 09 At 6 25 38 PM" darkAlt="Screenshot 2026 04 09 At 6 25 38 PM" className="dark:hidden" width="1436" height="966" data-path="images/Screenshot-2026-04-09-at-6.25.48-PM.png" />
</Frame>

### **Pushing Results**

After a book is parsed, you have two options:

* **Manual push** — Open the book, click the **Salesforce badge** in the top-right info badges, and confirm.
* **Automatic sync** — If the book was created from a Salesforce Opportunity with **Auto-parse** enabled, analytics push automatically after parsing completes.

### **Auto-Parse**

Auto-parse monitors your Salesforce pipeline and creates books for new Opportunities that match your criteria.

1. On the **Salesforce** page, click **Auto-Parse** in the top-right toolbar
2. Configure:
   * **Required stages** — Only Opportunities in these stages are picked up
   * **Require attachments** — Skip Opportunities with no files
   * **Checkbox field** (optional) — A Salesforce checkbox that must be true to trigger
   * **Parse complete field** (optional) — A Salesforce field LendPathway sets to true when parsing finishes

LendPathway polls every 5 minutes. New matching Opportunities are created as books, parsed, and synced back without manual intervention.

Auto-parse creates books and consumes usage. Monitor your usage to avoid unexpected overages.

<Frame caption="Auto-Parse Settings Modal">
  <img src="https://mintcdn.com/pathwaysystemsllc/i8HsrLaA4sKdw_-v/images/Screenshot-2026-04-09-at-6.28.01-PM.png?fit=max&auto=format&n=i8HsrLaA4sKdw_-v&q=85&s=0d0a84e32fbbe4901b94489031877735" alt="Screenshot 2026 04 09 At 6 28 01 PM" width="1078" height="1236" data-path="images/Screenshot-2026-04-09-at-6.28.01-PM.png" />
</Frame>

***

## **Embed API**

Build LendPathway into your own application. Submit documents via the API, embed parsed results in an iframe, and receive webhooks when processing completes.

The Embed API uses **Personal Access Tokens (PATs)**, not OAuth. See the [API Reference](vscode-file://vscode-app/api-reference) for full endpoint documentation.

### **Authentication**

To create a PAT:

1. Click your **org name** at the bottom of the sidebar to open the org switcher
2. Click **Settings**
3. On the **Account** tab, scroll to **API Access Tokens**
4. Click **New Token**, give it a name, and copy the token

Include the token in every request as a Bearer token in the `Authorization` header.

Tokens are hashed at rest — LendPathway stores only the SHA-256 hash, not the raw token. Treat your token like a password.

(image of the API Access Tokens section in Settings showing a token and the New Token button)

### **Submitting Documents**

`POST /api/submit-book` accepts multipart form data.

| **Field**     | **Required** | **Description**                                 |
| :------------ | :----------- | :---------------------------------------------- |
| `files`       | Yes          | One or more PDF files                           |
| `book_name`   | Yes          | Name for the book                               |
| `description` | No           | Optional description                            |
| `webhook_url` | No           | URL to receive a callback when parsing finishes |

LendPathway creates a book, uploads the files, and starts parsing in the background. The response returns immediately with the new `book_id`.

### **Webhooks**

If you provide a `webhook_url`, LendPathway sends a POST request when processing finishes:

```json theme={null}
{
  "book_id": "uuid",
  "status": "completed",
  "book_url": "https://app.lendpathway.com/books/<book_id>"
}
```

If parsing failed, an `error` field is included with a description.

### **Embedding Results**

Embed parsed analytics in your UI with token-authenticated iframes.

1. Create an embed token: `POST /api/embed/token` with `book_id`. Tokens expire after 24 hours by default. Pass `permanent: true` for tokens that don't expire.
2. Build the iframe URL: `https://app.lendpathway.com/embed/book/{embed_token}`
3. Drop that URL into an `<iframe>` on your page. The iframe renders the full analytics dashboard — no login required for the end user.

Each book can have one active embed token at a time. Requesting a new token for the same book reuses the existing one if it's still valid.

(image of an embedded analytics iframe in a sample host application)

### **Typical Flow**

1. Your app uploads files via `POST /api/submit-book` and gets back a `book_id` immediately
2. LendPathway parses in the background
3. When done, LendPathway hits your `webhook_url`
4. Your app creates an embed token and renders the iframe for the end user
