---
schema_version: "1"
id: 9bd94664d9eb9f2abeb0f4b070b980c8aef36d19e2ef727d15b3360039d3ca00
title: Relate External Objects Using External IDs
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/relate_external_objects.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.relate_external_objects.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 664d35c50e20076484c4ce98256c3a17dace064e36da4a8bab3a51a9bce139b5
description: Use external IDs to associate records in Salesforce with their corresponding records in Heroku Postgres.
products:
  - Security
  - Cross Cloud
release: "264"
---
# Relate External Objects Using External IDs

Use external IDs to associate records in Salesforce with their corresponding records in Heroku Postgres.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: all editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d16930e34">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d16930e34 ">To create a Custom Field or Custom Relationship:</td>
            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d16930e34 ">ModifyAllData and PrivacyCenter</td>
          </tr>
        </tbody>
      </table>

1. From Setup, in the Quick Find box, enter External, then select **External Objects** in the dropdown.
2. Click the name of the object you want to create a custom field on, then under Custom Fields & Relationships, click **New**.
3. Choose the field with the identifier you want to map, change the field type to **Indirect Lookup**, and click **Next**.
4. Determine edit access to this field for each profile, and click **Next**.
5. Select the page layouts that you want to include this field, and click **Next**.
6. Specify the Related List Label, and add it to a page layout.
7. Save your work.