# Salesforce Add a Salesforce Datastore with a New Connection

Source: https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/how-tos/add-new-connection/

This page walks you through adding a **Salesforce** source datastore while creating its connection, from opening the form to the success dialog. Each field is explained in [The connection form](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/introduction/#the-connection-form).

> **Tip: Already have a connection?**
>
> To add a Salesforce datastore on a connection that already exists, go to [Add with an Existing Connection](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/how-tos/add-existing-connection/).

Before you start, your Salesforce admin needs to set up an app with the Client Credentials Flow and a Run As user, and give that user API access and read access to the objects you want to monitor. See [Authentication](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/authentication/#set-up-the-app-in-salesforce) and [Permissions](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/permissions/).

> **Warning**
>
> Salesforce cannot be used as an enrichment datastore. After you add it as a source, link a separate enrichment datastore as its destination to store anomalies and metadata: either [during creation](https://userguide.qualytics.io/source-datastore/enrichment-datastore/how-tos/link-during-creation/) or [afterwards](https://userguide.qualytics.io/source-datastore/enrichment-datastore/how-tos/link-enrichment/).

## Steps

**Step 1**: Navigate to the **Datastores** page.

**Step 2**: Click the **Add**  button at the top-right corner and choose **Source**  from its menu.

**Step 3**: The **Datastore** step opens, the first of two.

**Step 4**: Select **New Connection** next to the **Search**  field.

**Step 5**: Select **Salesforce** from the connector grid. Use the search field to filter connectors by name.

**Step 6**: In **Connection Properties**, enter a **Connection Name**, your org's My Domain URL in **URL**, and the app's Consumer Key and Consumer Secret in **Client ID** and **Client Secret**.

**Step 7**: Optionally, enter the API names of the objects to sync in **Objects**, separated by commas, and change **Maximum Parallel Jobs**. Leave **Maximum Parallel Jobs** at 4 unless you have a reason to change it; see [Best Practices](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/best-practices/#keep-api-usage-low).

**Step 8**: In **General**, enter a **Name** for the datastore and select one or more **Teams**. Optionally, pick a **Group** and tick **Initiate Sync** to run the first Sync as soon as the datastore is created.

**Step 9**: Click **Test connection**. A success message confirms that the connection has been verified.

> **Info**
>
> The **Finish** and **Next** buttons stay disabled until the connection test passes on the current values. If you change a connection field after a successful test, test again. If the test fails, see [Troubleshooting](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/troubleshooting/).

**Step 10**: Click **Finish** to create the datastore.

> **Tip**
>
> To link an enrichment destination so Qualytics can store anomalies and metadata from the first operation, click **Next** instead of **Finish**. See [Link Enrichment on Datastore Creation](https://userguide.qualytics.io/source-datastore/enrichment-datastore/how-tos/link-during-creation/).

**Step 11**: A success dialog confirms that your datastore has been added. Click **Go to your datastore** to open its page.

If you did not tick **Initiate Sync**, run a Sync from the datastore to discover its objects. See [What becomes a container](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/introduction/#what-becomes-a-container).

*Last updated: November 16, 2026.*
