# Salesforce Salesforce Permissions

Source: https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/permissions/

> **Info: Permissions in your Salesforce org**
>
> The Salesforce grants on this page are given in your own Salesforce org, to the identity Qualytics connects with, by whoever administers it at your company. They let Qualytics connect the datastore and read your data. They are not Qualytics roles or team permissions. To know which Qualytics user role (**Admin**, **Manager**, or **Member**) and team permission you need to connect the datastore in Qualytics, see [Source Datastore Permissions](https://userguide.qualytics.io/source-datastore/datastore/deep-dive/permissions/).

## Access in your Salesforce Org

Qualytics never writes to Salesforce, so read access is all it asks for. Everything below is granted to the **Run As** user of the app Qualytics signs in as, not to the app itself; see [Two identities](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/authentication/#two-identities).

### What the Run As user needs

| Access | Purpose |
| --- | --- |
| **API Enabled** permission | Sign in through the API at all. Without it the connection test fails |
| **Read** on each object you monitor | List the object at Sync and read its records during profile and scan operations |
| Field-level **Read** on the fields you monitor | Include the field in the container. A field the user cannot read does not appear, and no warning says it was left out |

A permission set assigned to the Run As user is the usual way to grant all three. Granting **View All** on an object as well lets the user read every record of it regardless of sharing rules; without it, Qualytics sees only the records the user's sharing gives it access to, and checks such as row counts reflect that subset.

Your org's edition must include API access: Enterprise, Unlimited, and Developer editions do, and Professional edition does with the API add-on.

### The app

The app needs OAuth enabled, the **Manage user data via APIs (api)** scope, and the **Client Credentials Flow** with a Run As user. See [Set up the app in Salesforce](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/authentication/#set-up-the-app-in-salesforce).

### Network access

Qualytics connects to your org's My Domain URL over HTTPS, on port 443. Salesforce is reached over the internet, so there is usually nothing to open on your side.

If your org restricts where API sessions can come from, for example with login IP ranges on the Run As user's profile, allow the addresses your connections originate from. The **Add Datastore** form shows them under **Public addresses**.

---

## See Also

- **API Usage**

  How Salesforce counts what Qualytics reads against your org's daily allowance, and how to estimate a scan or profile before it runs.

  [API Usage](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/api-usage/)
- **Authentication**

  The Salesforce app, the client credentials flow, and the Run As user Qualytics reads as.

  [Authentication](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/authentication/)
- **Examples**

  Worked scenarios: a first connection, a short list of objects, a large object read in parallel, and a scan checked against the allowance.

  [Examples](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/examples/)
- **Best Practices**

  Recommendations for choosing objects, sizing parallel reads, and keeping API usage low.

  [Best Practices](https://userguide.qualytics.io/source-datastore/datastore/native/salesforce/deep-dive/best-practices/)

*Last updated: November 16, 2026.*
