Create an external object with Salesforce Connect
- Last Updated: September 9, 2021
- 1 minute read
- Hybrid Data Pipeline
- Version 5.0
- Documentation
After you have created an OData-enabled data source or data source group, you can create an external object with Salesforce Connect.
Take the following steps to expose your data as an external object in your Salesforce org.
- Sign in to Salesforce.
- Navigate to External Data Sources.
- Click New External Data Source
- Provide values for fields and parameters associated with your external data source
object. Then click Save.
- External Data Source: Provide a user-friendly label for the external data source.
- Name: Provide a unique identifier for the external data source to be used with the Salesforce API.
- Type:
Select an OData version. Note that best practices
recommend using OData Version 4.
- Salesforce Connect: OData 2.0
- Salesforce Connect: OData 4.0
- URL:
Provide the OData root URL. The OData root URL is the
OData Access URI
on the Hybrid Data Pipeline
OData
tab. For example:
https://hdp.example.com/api/odata4/examplesource
- Identity Type:
Select the identity type.
- Named Principal – Select when using one login account on the external system.
- Per User – Select when using multiple login accounts on the external system.
- Authentication Protocol:
Select an authentication protocol and provide the required
parameters.
- Password Authentication
- OAuth 2.0
- Click Save.
- Click Validate and Sync.
- On the Validate External Data Source page, select the table you want to sync.
- Click Sync.
- On the External Data Source page, you can view external objects.
What to do next:
After you set up and validate the external data source with Salesforce Connect, you can work with external data sources. For details, refer to Work with External Data Sources on Salesforce Help.