Skip to main content
Build the future with Agentforce at TDX in San Francisco or on Salesforce+ on March 5–6. Register now.

Create an External Data Source and External Objects

Add an External Data Source

In a real production system, you would use Salesforce Connect to access data in a back-end system, such as SAP or Microsoft SharePoint. In this task, you connect to a sample data source running on Heroku.

  1. From Setup, type External Data into the Quick Find text box. Click External Data Sources and select New External Data Source.
  2. Enter OrderDB for External Data Source and name the data source OrderDB, and select Salesforce Connect: OData 2.0 as the type.
  3. Enter https://orderdb.herokuapp.com/orders.svc as the URL. Leave the other fields with their default values, and click Save.
  4. On the next screen, click Validate and Sync. Salesforce Connect retrieves the schema from the external system.
  5. Select both the Order and OrderDetail tables, and click Sync.

Scroll down to see the new external objects. Click them to see their fields.

在 Salesforce 帮助中分享 Trailhead 反馈

我们很想听听您使用 Trailhead 的经验——您现在可以随时从 Salesforce 帮助网站访问新的反馈表单。

了解更多 继续分享反馈