---
title: Connecting Data Sources
date: 2025-12-30T05:56:51Z
modified: 2026-06-12T09:58:57Z
permalink: "https://ezintegrations.ai/docs/how-to-connect-data-sources/"
type: docs
status: publish
excerpt: ""
wpid: 3115
doc_category:
  - Appendix
author: Arun Thakur
---

## Overview

This guide explains how to configure Salesforce as a data source in eZintegrations. It outlines the steps to connect to Salesforce APIs, select business objects, configure authentication, and retrieve data for integration workflows.

By following this guide, users can securely establish connectivity and extract data from Salesforce using API-based authentication.

---

## When to Use

Use this configuration when Salesforce is required as the source system in an integration pipeline.

- When extracting CRM data from Salesforce
- When synchronizing Salesforce records with external systems
- When building automated data pipelines
- When using SOQL-based queries
- When implementing OAuth-based authentication

---

## How It Works

The source configuration establishes secure communication between eZintegrations and Salesforce APIs.

- Select API as the source type
- Choose Salesforce as the product
- Select the required business object
- Auto-populate API details
- Configure refresh token authentication
- Retrieve data using API queries

---

## How to Configure Salesforce as a Source

### Step 1: Select Source Type

Choose **API** as the source type.

[![Select Source Type](https://help.bizdata360.com/uploads/images/gallery/2023-11/scaled-1680-/step1.png)

](https://help.bizdata360.com/uploads/images/gallery/2023-11/step1.png)

### Step 2: Select Salesforce Product

Enter **Salesforce** in the product search field and select it from the dropdown list.

[![Select Salesforce Product](https://help.bizdata360.com/uploads/images/gallery/2023-11/scaled-1680-/step2.png)

](https://help.bizdata360.com/uploads/images/gallery/2023-11/step2.png)

### Step 3: Select Business Object

Choose the required Salesforce business object from the dropdown menu.

[![Select Business Object](https://help.bizdata360.com/uploads/images/gallery/2023-11/scaled-1680-/step3.png)

](https://help.bizdata360.com/uploads/images/gallery/2023-11/step3.png)

**Note:** If the required business object is not available, select **Create New** to create a new product and business object.

### Step 4: Review Auto-Populated API Details

After selecting the business object, all relevant Salesforce API details are automatically populated.

For example, when selecting **Contacts**, related configuration details are loaded.

[![Salesforce API Configuration](https://help.bizdata360.com/uploads/images/gallery/2023-11/scaled-1680-/vikimage.png)

](https://help.bizdata360.com/uploads/images/gallery/2023-11/vikimage.png)

The HTTP method is configured as **GET**, and the API endpoint URL is populated as shown below.

📋https://{{instance identifier}}-dev-ed.my.salesforce.com/services/data/v25.0/query/?q={{query}}


Ensure that all required instance details are included in the endpoint URL.

---

## Authorization Configuration

In eZintegrations, Salesforce authorization values are automatically populated. Users only need to configure the Refresh Token Endpoint body.

[![Authorization Configuration](https://help.bizdata360.com/uploads/images/gallery/2023-11/scaled-1680-/Jbpimage.png)

](https://help.bizdata360.com/uploads/images/gallery/2023-11/Jbpimage.png)

[![Refresh Token Configuration](https://help.bizdata360.com/uploads/images/gallery/2023-11/scaled-1680-/WEEimage.png)

](https://help.bizdata360.com/uploads/images/gallery/2023-11/WEEimage.png)

### Refresh Token Endpoint Body

Enter the following required parameters in the Refresh Token Endpoint body.

📋grant_type={{grant_type}}&client_id={{client_id}}&client_secret={{client_secret}}&username={{user_name}}&password={{password}}


Provide valid values for all placeholders before testing the connection.

---

## Final Submission

After completing all required configurations:

- Verify API endpoint and query parameters
- Confirm refresh token credentials
- Test connectivity
- Save and submit the configuration

Once submitted, the connection to Salesforce is established and data extraction can begin.

---

## Troubleshooting

- **Authentication Failed:** Verify client ID, secret, username, and password.
- **Invalid Query:** Check SOQL syntax.
- **Endpoint Error:** Confirm instance identifier.
- **No Data Returned:** Review query parameters.
- **Token Expired:** Revalidate refresh token settings.

---

## Frequently Asked Questions

 ### 1. Is OAuth mandatory for Salesforce integration?

 Yes. OAuth authentication is required for secure Salesforce API access.

 

 

  ### 2. Can I use custom SOQL queries?

 Yes. You can define custom queries using the query parameter.

 

 

  ### 3. What if my business object is not listed?

 You can create a new product and business object using the Create New option.

 

 

  ### 4. Are authorization headers required manually?

 No. eZintegrations automatically populates authorization headers.

 

 

  ### 5. Can this source configuration be reused?

 Yes. Once configured, it can be reused across multiple integration workflows.

 

 

 ---

## Notes

- Store Salesforce credentials securely.
- Do not expose secrets in public repositories.
- Test queries before production deployment.
- Monitor extraction logs regularly.
- Update credentials when rotated.

This guide enables secure and reliable configuration of Salesforce as a data source in eZintegrations.

## Topics

**Docs Categories:** [Appendix](https://ezintegrations.ai/wp-content/uploads/wp-mfa-exports/taxonomy/doc_category/appendix.md)