• WHO WE ARE
  • WHAT WE DO
    • Salesforce
      • Implementations
        • Sales Cloud
        • Service Cloud
        • CPQ
        • Field Service Lightning
        • Field Service for SMEs
      • Developments
        • Salesforce Customization
        • Custom Application Development
        • AppExchange Product Development
      • Migrations
        • Classic to Lightning Migration
        • Other Systems to Salesforce Migration
      • Integrations
    • Data Science
      • BI Solutions
      • AI/ML solutions
      • Agentic AI
  • HOW WE DO
    • Delivery Model
    • Our Works
  • REACH US
    • Contact Us
    • Careers
  • BLOG
    • WHO WE ARE
    • WHAT WE DO
      • Salesforce
        • Implementations
          • Sales Cloud
          • Service Cloud
          • CPQ
          • Field Service Lightning
          • Field Service for SMEs
        • Developments
          • Salesforce Customization
          • Custom Application Development
          • AppExchange Product Development
        • Migrations
          • Classic to Lightning Migration
          • Other Systems to Salesforce Migration
        • Integrations
      • Data Science
        • BI Solutions
        • AI/ML solutions
        • Agentic AI
    • HOW WE DO
      • Delivery Model
      • Our Works
    • REACH US
      • Contact Us
      • Careers
    • BLOG
  • [email protected]
  • (+91) 44-49521562
Merfantz - Salesforce Solutions for SMEs
Merfantz - Salesforce Solutions for SMEs
  • WHO WE ARE
  • WHAT WE DO
    • Salesforce
      • Implementations
        • Sales Cloud
        • Service Cloud
        • CPQ
        • Field Service Lightning
        • Field Service for SMEs
      • Developments
        • Salesforce Customization
        • Custom Application Development
        • AppExchange Product Development
      • Migrations
        • Classic to Lightning Migration
        • Other Systems to Salesforce Migration
      • Integrations
    • Data Science
      • BI Solutions
      • AI/ML solutions
      • Agentic AI
  • HOW WE DO
    • Delivery Model
    • Our Works
  • REACH US
    • Contact Us
    • Careers
  • BLOG

How to Setup Salesforce Connect in Salesforce

  • December 21, 2018
  • Merfantz Editor
  • Salesforce Admin Tutorial
  • 0

Salesforce Connect

Salesforce Connect is a framework that enables you to view, search, and modify data that’s stored outside your Salesforce org.

For example, perhaps you have data that’s stored on premises in an enterprise resource planning (ERP) system. Instead of copying the data into your org, you can use external objects to access the data in real time via web service callouts.

Salesforce Connect lets your Salesforce org access data from a wide variety of external systems.

Overview of Setup

1.Create the external data source.

2.Create the external objects and their fields.

3.Define relationships for the external objects.

4.Enable user access to external objects and their fields.

5.Set up user authentication.

  • Enable users to authenticate to the external data source.
  • Set up each user’s authentication settings.

Follow these steps to install the package.

  1. Open a browser, and click here to start the installation. (you need to login into your salesforce org to complete this)
  2. Select Install for Admins Only.
  3. Click Install
  4. Select the External Orders app
  5. Click Set Customer IDs to assign customer ID numbers to the sample account records in your Developer Edition.

Connect an External Data Source

As an exercise, let’s connect an existing OData 2.0 data source that’s publicly accessible.

  1. From Setup, enter External Data Sources in the Quick Find box, then select External Data Sources.
  2. Click New External Data Source.
  3. Enter OrderDB as the label. As you click or tab away from the label field, the name field defaults to OrderDB.
  4. Select Salesforce Connect: OData 2.0 as the type.
  5. Enter https://orderdb.herokuapp.com/orders.svc/ as the URL.
  6. Leave the remaining settings with their default values and click Save.

Note

Because this is a sample, read-only database, no authentication is required. A real external system would likely require some credentials.

Create External Objects

You can create or modify an external object.

  1. From Setup, enter External Data Sources in the Quick Find box, then select External Data Sources and then click the OrderDB external data source.
  2. Click Validate and Sync.
  3. Select both Orders and OrderDetails.
  4. Click Sync.

Syncing creates the external objects corresponding to the tables that you selected. Syncing does not store any data in Salesforce. Syncing only defines mappings to external tables or repositories that contain the data. These mappings enable Salesforce to access and search the external data.

View External Data

After you’ve connected the external data source and defined the external objects, you can view the external data directly in your Salesforce org.

  1. From Setup, enter External Data Sources in the Quick Find box, then select External Data Sources.
  2. Click the OrderDB external data source.
  3. Scroll down to External Objects and click Orders.

Salesforce Connect’s sync process created this external object from the external system’s schema. If you’re familiar with custom objects, you notice that external objects look similar.

The sync process also created a set of custom fields just as you create them for a custom object. The key differences between external object and custom object definitions are:

  • External object API names have the suffix __x rather than __c.
  • External objects have a reference to their external data source and a table within that source.
  • External objects have different standard fields. Display URL is the OData 2.0 URL representing a record in the external database, while External ID is the primary key value for each record.

Let’s create a custom tab to easily access the order records.

  1. From Setup, enter Tabs in the Quick Find box, then select Tabs.
  2. Click the New button next to Custom Object Tabs.
  3. Select Orders as the Object.
  4. Click the selector next to Tab Style and choose whichever style you like.
  5. Click Next.
  6. Click Next to accept the default tab visibility settings.
  7. Click the checkbox next to Include Tab to deselect all the apps.
  8. Click the checkbox next to External Orders to select it.
  9. Click Save.

Note:

Because there’s also a standard object named Order, you now have two tabs with the label of Orders. You can change the tab name for your external object by changing the label in the object definition.

You can now view the external order data as if it was stored in custom objects in your Salesforce org.

  1. If the app menu (top right) is not already showing External Orders, click the app menu and select it.
  2. Click the Orders tab.
  3. Click the Go! button next to View: All.
  4. Click one of the order External ID values.

Salesforce Connect retrieved all the field values for the order you selected.

It’s important to remember that external data is never duplicated in your Salesforce org. Salesforce Connect always fetches current data from the external system in real time.

Now that you can see external data in your org, you can also link it to existing data by creating lookup relationships. You’ll see how to do that in a later unit.

Set Up User Authentication

The sample database used in this unit did not require authentication. However, a real external system is likely to require login credentials. You have two options for setting up user authentication for an external data source.

  • Named Principal—Your entire Salesforce org shares one login account on the external system.
  • Per User—Your org uses multiple login accounts on the external system. You or your users can set up their personal authentication settings for the external system.

This blog is discussed the detailed information about Salesforce Connect.

 

Author Bio

Merfantz Editor
+ Recent Posts
  • August 4, 2023
    How to Setup CRM Analytics for Financial Services Cloud
  • August 2, 2023
    How to Get Started with Salesforce Hyperforce - Merfantz
  • July 28, 2023
    Health Cloud Mastery: Salesforce Trailhead for Effective Healthcare CRM
  • July 26, 2023
    How to integrate Data cloud and Marketing cloud In Salesforce
  • Previous How to Use Feed Filters in Salesforce Case Object
  • Next How to Create Rollup Summary Fields in Salesforce
Merfantz Technologies is a leading Salesforce consulting firm dedicated to helping small and medium enterprises transform their operations and achieve their goals through the use of the Salesforce platform. Contact us today to learn more about our services and how we can help your business thrive.

Discover More

Terms and Conditions
Privacy Policy
Cancellation & Refund Policy

Contact Info

  • No 96, 2nd Floor, Greeta Tech Park, VSI Industrial Estate, Perungudi, Chennai 600 096, Tamil Nadu, INDIA
  • (+91) 44-49521562
  • [email protected]
  • 9:30 IST - 18:30 IST

Latest Posts

Comprehensive Overview of Salesforce Agent-Force Platform
Comprehensive Overview of Salesforce Agent-Force Platform June 12, 2025
Salesforce GraphQL Revolutionizing Data Queries in CRM
Salesforce GraphQL: Revolutionizing Data Queries in CRM June 6, 2025
Unlocking the Power of Dynamic Forms in Salesforce Lightning App Builder
Unlocking the Power of Dynamic Forms in Salesforce Lightning App Builder May 29, 2025

Copyright @2023 Merfantz Technologies, All rights reserved