Skip to main content
Salesforce Logo
Salesforce

CRM records, deals, cases, and attached files

βœ… ReadyπŸ“– Documentation Available

Overview

The Salesforce connector syncs your CRM data β€” accounts, contacts, leads, opportunities, cases, tasks, and attached files β€” from your Salesforce org into PipesHub using OAuth 2.0 and an External Client App you create in Salesforce Setup.

What Gets Synced

Authentication

In PipesHub the flow has three tabs: Authenticate Instance (Redirect/Callback URL, Salesforce Instance URL, and OAuth client credentials), Authorize (sign in to Salesforce), then Configure Records (sync strategy and indexing).
This connector matches people by email. Use the same email in PipesHub as in Salesforce so permissions and visible records line up.

Configuration Guide

You will copy the Redirect/Callback URL from PipesHub, create an External Client App in Salesforce with that callback URL, then paste the app’s Consumer Key and Consumer Secret back into PipesHub and run Authorize.

How to configure and enable the Salesforce connector

Step 1: Copy the Redirect/Callback URL from PipesHub

  1. Open your user profile menu (bottom of the left sidebar) β†’ Workspace Settings.
  2. Under Workspace, select Connectors.
  3. Find Salesforce and click + Setup.
  4. On Authenticate Instance, set Instance name, then copy the Redirect/Callback URL exactly. You will paste it into Salesforce in Step 5.
PipesHub Salesforce Configuration β€” Redirect/Callback URL and OAuth credentials

Step 2: Open Salesforce Setup

Sign in to Salesforce with an administrator account, click the gear icon in the top-right corner, then choose Setup.
Salesforce home page
Salesforce Setup menu

Step 3: Create a New External Client App

In the Setup Quick Find box, search for App Manager and open it. Click New External Client App in the top-right corner.
Salesforce Lightning Experience App Manager β€” New External Client App

Step 4: Fill in Basic Information

Enter an External Client App Name (for example salesforce-app), confirm the API Name, and provide a Contact Email. Leave Distribution State as Local for an internal app.
External Client App β€” Basic Information form

Step 5: Enable OAuth and add the Callback URL and scopes

  1. Expand the API (Enable OAuth Settings) section and turn on Enable OAuth.
  2. Paste the Callback URL you copied in Step 1 β€” it must match exactly.
  3. Move these scopes into Selected OAuth Scopes:
    • Access the identity URL service (id, profile, email, address, phone)
    • Manage user data via APIs (api)
    • Manage user data via Web browsers (web)
    • Perform requests at any time (refresh_token, offline_access)
External Client App β€” Callback URL and selected OAuth scopes

Step 6: Configure Security settings

Under Security, enable Require secret for Web Server Flow and Require secret for Refresh Token Flow. Leave Issue JSON Web Token (JWT)-based access tokens for named users unchecked. Click Create to save the app.
External Client App β€” Security settings

Step 7: Copy the Consumer Key and Consumer Secret

Open the saved app β†’ Settings β†’ OAuth Settings, then click Consumer Key and Secret. Salesforce may ask you to verify your identity.
External Client App β€” OAuth Settings with Consumer Key and Secret button
Copy the Consumer Key and Consumer Secret β€” these are your Client ID and Client Secret in PipesHub.
External Client App β€” Consumer Key and Consumer Secret
New External Client Apps can take a few minutes before they accept OAuth requests. If authorization fails right after creation, wait and retry.

Step 8: Find your Salesforce Instance URL

Your Instance URL is the base domain shown in your browser’s address bar when you are in Salesforce β€” for example https://yourcompany.my.salesforce.com.
Browser address bar highlighting the Salesforce instance URL

Step 9: Finish Authenticate Instance in PipesHub

Return to Salesforce Configuration β†’ Authenticate Instance and fill in: Confirm the Redirect/Callback URL still matches, then click Next β†’.
PipesHub Salesforce Configuration β€” OAuth app name, instance URL, and client credentials

Step 10: Authorize with Salesforce

On Authorize, click Authenticate Salesforce to Proceed, sign in to Salesforce, and click Allow on the permission screen. When Authorization status shows Connected β€” you can continue to Configure records, click Continue to configuration β†’.
PipesHub Salesforce Configuration β€” Authorize tab showing Connected status
Authorize with an administrator account using the same email you use in PipesHub. A different account can cause missing records or permission issues.

Step 11: Configure Records and save

On Configure Records, set Sync Strategy (Scheduled or Manual) and Sync Interval, toggle Enable Manual Indexing if you want to disable automatic indexing, and use + Add filter under Sync filters to filter content by creation date or modification date. Click Save Configuration.

Step 12: Start sync

When the Start sync process? dialog appears, click Confirm to begin syncing, or Cancel to start later. Use Sync Enabled and the sync actions on the instance card as needed, and open the instance page to watch Last Synced and record stats.
PipesHub Salesforce Configure Records panel with Start sync process confirmation
Use Re-authenticate with provider on Authorize if tokens are rotated or access was revoked.

Troubleshooting

Common issues

redirect_uri_mismatch
  • The Callback URL in Salesforce must exactly match the Redirect/Callback URL shown in PipesHub (scheme, host, path, no stray spaces).
invalid_client_id / invalid_client
  • Re-copy the Consumer Key and Consumer Secret from OAuth Settings. If the app was just created, wait a few minutes and retry.
Wrong instance URL
  • Use the base domain from your browser’s address bar (for example https://yourcompany.my.salesforce.com) β€” not https://login.salesforce.com. For a sandbox, use that sandbox’s own My Domain URL.
Missing records after sync
  • The connector only sees what the authorizing user can see. Confirm that user’s profile, role, and sharing rules grant access to the objects you expect.
Session expired / invalid
  • Run Re-authenticate with provider on the Authorize tab.

Data sync behavior

Initial sync

  • Imports users, roles, groups, and CRM records along with attached files; duration depends on org size.

Incremental sync

  • Runs on your Sync interval when using a scheduled strategy, fetching records changed since the last successful run.

FAQ

  1. Email mismatch β€” Use the same email in PipesHub as in Salesforce.
  2. Scope β€” Confirm the OAuth scopes from Step 5 are selected and the authorizing user has access to the objects.
  3. Still indexing β€” Open Workspace Settings β†’ Connectors β†’ Salesforce and check Overview until queues complete.

Ready to get started?

Connect Salesforce to PipesHub for unified search. Follow the steps above, or contact support if you need help.