Salesforce Connect

What Salesforce Connect is and when to use it: external objects, adapters, license, limits, what works on external data, and security.

The CRM (Customer Relationship Management) has to show data that lives in another system and changes every day. Does it have to be copied into Salesforce? Salesforce Connect lets users see it without copying it. This page explains how it works, what it costs, what limits it, an example and a checklist.

What it is

Salesforce Connect lets users view, search and modify data stored outside the Salesforce org. For example, the data in an on-premises ERP (Enterprise Resource Planning) system.

The data is seen through external objects. An external object behaves like a custom object, but each one maps to a table in the external system, and its fields to columns. Its API (application programming interface) name ends in __x. The data is not copied: Salesforce requests it from the external system at that moment, with a web service callout.

The classic alternative is copying the data with ETL (Extract, Transform and Load) tools. According to Salesforce, that copies data you don’t need or that goes stale.

Salesforce recommends Salesforce Connect when this holds:

  • There is a large volume you don’t want to copy.
  • Each query needs little data.
  • The current value is needed.

What it is not

  • It is not a copy. The external data source describes the connection. Syncing it creates the external objects, but copies no data.
  • It is not an integration platform. If the data must live in Salesforce, it takes a load or middleware, an intermediate layer between systems, as Core banking integration explains.
  • It is not a full custom object. The “Does not work” paragraph gives the detail.

Adapters

An adapter translates each action on an external object into a request to the external system. It is chosen in the Type field of the external data source.

Adapter What it connects
OData 2.0, 4.0 and 4.01 Systems that publish their data with OData (Open Data Protocol), a standard protocol for querying data over HTTP, the web’s protocol. The service that publishes them is called an OData producer.
Cross-org Another Salesforce org, through its REST API, the API based on HTTP requests.
Custom Any source, with classes in Apex, Salesforce’s programming language, and the Apex Connector Framework. For when no other adapter fits.
Salesforce Connect Adapter for Amazon DynamoDB That cloud database.
Salesforce Connect Adapter for SQL Sources that accept queries and writes in SQL (Structured Query Language, the database query language) through a REST API.
Salesforce Connect Adapter for GraphQL Sources that publish a GraphQL API, a query language for APIs.

The OData producer must be reachable from the Internet. If it sits behind a firewall, the Salesforce IP (Internet Protocol) addresses must be allowed, or a reverse proxy used, an intermediate server that receives the requests.

How a query travels

Salesforce makes a callout each time someone opens a list view or an external record, a related list with external records, a global search or a report. Also when a flow, Apex, SOQL (Salesforce Object Query Language) or SOSL (Salesforce Object Search Language) accesses the object.

How a query travels with Salesforce ConnectA user opens a Salesforce record that shows data from an external object. Salesforce passes the request to the adapter, which translates it into a query in the external system's protocol and authenticates with a named credential. The external system returns the rows at that moment. Salesforce shows them without storing them.query with anamed credentialcurrent rows,not copiedUser opensa recordSalesforce:external objectAdapter(OData, cross-org…)External system

So the external system’s latency becomes the screen’s latency. If the external system does not answer, the data does not appear.

License and limits

Salesforce Connect is available in Developer Edition. In Enterprise, Performance and Unlimited it carries an extra cost. It needs an add-on license, tied to a single org. Each license gives 5 cross-org connections or 1 connection of any other adapter.

Limit Value
New rows retrieved or created per hour 100,000. Does not apply to High Data Volume sources (option described below the table) or to orgs hosted on Hyperforce, the Salesforce infrastructure that hosts them (on a rolling basis since Spring ’25).
External objects per org 200; if the value is 100, ask support for the increase
Joins per query 4
OData request and response 8 MB each
OData query result set 16 MB
Salesforce IDs that Lightning Experience assigns per hour to new external records (OData 2.0 and 4.0) 100,000 for each type of mapping; does not apply to OData 4.01 on Hyperforce

The number of callouts depends on the scope, and Help gives three figures in three articles. This page applies the most specific article to each case; the general one declares no exceptions, so the split by scope is this page’s reading rather than something the sources state. In general, Salesforce sets no callout limit for OData, though the external system may have its own. A source marked High Data Volume stays limited to 20,000 OData queries per hour. And in the context of reports the limit is 20,000 callouts per hour for OData 2.0 and 4.0 in Enterprise, Performance and Unlimited, 1,000 in Developer Edition and none for OData 4.01. With cross-org, each callout consumes the API limit of the org that holds the data.

High Data Volume (HDV) is a data source option to bypass most rate limits. In exchange, its external objects are not shown in Lightning Experience or the mobile app, have no reports or feeds, accept no writes and receive no Salesforce IDs.

What works and what does not

Works. Lightning Experience, except with HDV. Global search, if enabled on the source and on each object; it searches text fields only. Flows, quick actions, the mobile app, Apex, SOQL, SOSL, the APIs and deployment with packages or change sets, the sets of changes moved between orgs.

Relationships. External data often does not hold Salesforce IDs. So there are two special relationships, which match on an External ID, a field that holds another system’s identifier:

  • External lookup: the parent is an external object, matched on its standard External ID field.
  • Indirect lookup: the child is external and the parent is a Salesforce object. It is matched on a custom field of the parent with the External ID and Unique attributes.

Reports. They read up to 20,000 records of the primary object. Totals may reflect only part of the data. They support no cross filters, buckets (groupings of values) or row-level formulas.

Writes. External objects are read only by default. The Writable External Objects option allows create, edit and delete. The external system executes the write and resolves conflicts. Saving an external object and a Salesforce object in the same transaction fails.

Does not work. Formulas and roll-up summaries that read external fields, validation rules, record types and record-level security. Nor activities, attachments or notes. The Salesforce console supports external objects only in Salesforce Classic, not in Lightning Experience.

Security

  • Identity Type. With Named Principal, the whole org uses one account on the external system. With Per User, each user or group uses its own credentials.
  • Named credentials. A named credential stores the system’s URL and its authentication. The authentication lives in an external credential, granted to users through permission sets. OData 4.01 is configured with a named credential; for OData 2.0 and 4.0 it is optional.
  • Cross-org. Password and OAuth 2.0 authentication, OAuth being the authorisation protocol, is retired in Spring ’27, because it relies on the SOAP API login() call, SOAP API being the API based on the SOAP protocol. Migrate to named credentials, as Winter ’27 summarises.
  • Visibility. As there is no record-level security, anyone with access to the object sees every row the external system returns. Filtering per user needs Per User and an external system that filters.
  • Encryption. Traffic is encrypted. Salesforce recommends encrypting sensitive data at rest in the external system.

Example: a private bank’s positions

A private bank wants to show each client account’s portfolio positions. They live in a portfolio system that changes every day. The example is invented.

  1. Publish. The portfolio system publishes the positions with OData 4.01. The bank allows the Salesforce IPs on its firewall.
  2. Authenticate. An external credential and a named credential are created. The Identity Type is Per User, so that the portfolio system filters by relationship manager.
  3. Connect. The OData 4.01 external data source is created, without writes. The table is synced and the external object Position__x appears.
  4. Relate. The account has the field Client_Code__c, External ID and Unique. On Position__x an indirect lookup to that field is created.
  5. Show. The positions related list is added to the account page in Lightning Experience.
  6. Do not total with reports. Total assets do not come from a report on Position__x: reports read up to 20,000 records and their totals may be partial.

When to use it

The criterion is whether the data has to live in Salesforce or only be seen from Salesforce.

Situation Option
Large external volume, little per query, and it must be current Salesforce Connect
Data in another Salesforce org Salesforce Connect with cross-org
System without an OData producer Custom adapter, or an OData API built with MuleSoft’s APIkit for OData V4
Formulas, validation rules, record-level sharing or complete reports are needed Copy the data into Salesforce objects
One-off load from a file Data Loader
Combine and transform data inside Salesforce Data Pipelines
Continuous synchronisation between systems Middleware, such as MuleSoft

Before production

  1. Choose the adapter and confirm the license and the number of connections.
  2. Authenticate with a named credential and decide the Identity Type.
  3. Check that the external system filters what each user may see.
  4. Work out which row and callout limits apply to this case: the 100,000 rows per hour does not affect orgs on Hyperforce or High Data Volume sources, and the callout limit depends on whether the source is High Data Volume and on whether the access comes from reports.
  5. Leave HDV unticked if users work in Lightning Experience.
  6. Create the External ID and Unique fields that indirect lookups need.
  7. Measure the external system’s response time in a sandbox, a copy of the org for testing.
  8. Migrate cross-org sources to named credentials before Spring ’27.

Official sources

Back to the knowledge base