# Registering Salesforce Org Using External Connected App

## Introduction

Salesforce has introduced the **External Client App (ECA)** framework as the new standard for managing OAuth-based integrations. This framework replaces the legacy **Connected App** model for newly created integrations and provides a more secure and structured way to configure external applications that access Salesforce resources.

To align with Salesforce’s updated authentication framework, Vault now supports integration using **External Client Apps**. This approach ensures compatibility with Salesforce’s latest OAuth standards while maintaining secure access between Vault and Salesforce environments.

This guide explains how to register a Salesforce organization in Vault using the **External Client App (ECA)** configuration and authorize Vault to access Salesforce through OAuth.

## Overview

Registering a Salesforce organization in Vault involves configuring an OAuth connection using a **Salesforce External Client App**. This process establishes a secure authorization flow that allows Vault to interact with Salesforce APIs.

The setup process includes the following stages:

1. **Registering the Salesforce organization in Vault** by providing environment details.
2. **Creating an External Client App in Salesforce** to enable OAuth authentication.
3. **Configuring required OAuth scopes and callback settings** within Salesforce.
4. **Providing the Client ID and Client Secret in Vault**.
5. **Authorizing Vault to access Salesforce** through the OAuth authorization process.
6. **Validating the connection** and completing the org registration.

Once the setup is complete, the Salesforce organization becomes available in Vault and can be used for operations such as **Backup, Compare, Search & Compare, Restore, Replication, and Data Masking**.

## Step-By-Step Guide: Registering a Source Salesforce Org in Vault

### Navigate to the Salesforce Orgs Setup Page

On the **Vault Setup** page, the **Salesforce Orgs List** displays all registered Salesforce environments.

To register a new Salesforce organization:

1. Click **REGISTER NEW ORG**.

   ![](/files/bee982c615cad15650b8c0536ddaa0f4eed16f4f)

This action opens the **Source Org Integration** setup wizard.

### Configure Environment Details

The **Source Org Integration** wizard begins with **Environment Details**.This step captures the basic configuration required to connect the Salesforce environment.

![A screenshot of a computer AI-generated content may be incorrect.](/files/a3d19b0d997311e2a07bbc9fef79ef3400a7d233)

Configure the following fields:

* **Environment Type** – Select the appropriate environment:
  * **Salesforce** – Standard Salesforce organization.
  * **nCino** – nCino environment running on Salesforce.
* **Salesforce API Version** – Select the API version used for integration.
* **Org Title** – Enter a recognizable name for the organization.This name helps identify the org within Vault.
* **User Name** – Enter the Salesforce username used for authentication.

### Select Salesforce Environment Type

After entering the username, select the type of Salesforce environment.

![A screenshot of a computer AI-generated content may be incorrect.](/files/a0b77dcf45af289f08206191e042296e61d38237)

Available options include:

* **Production** – Used for live Salesforce environments.
* **Sandbox** – Used for development or testing environments.

Once the environment type is selected, provide the **Salesforce Login URL**.

This field supports both:

* Default Salesforce login URLs
* Custom **My Domain** login URLs

If Salesforce enforces **My Domain**, the login URL must match the configured domain.

Click **Continue** to proceed.

### Create the Salesforce External Client App

The next step guides the creation of a **Salesforce External Client App** required for OAuth authentication.

![A screenshot of a computer AI-generated content may be incorrect.](/files/1754722057f1375c8824f12bbfcefc60e19cebfd)

Vault displays the configuration steps that must be completed in Salesforce.

**Complete the following actions in Salesforce:**

1. Navigate to **Setup → App Manager**.
2. Click **New External Client App**.
3. Enable **OAuth Plugin**.
4. Select **Authorization Code (Web Server) Flow**.
5. Disable the **PKCE security option**.
6. Add the **Callback URL** provided in Vault.

After completing the configuration in Salesforce, return to Vault.

Click **I've completed the setup** to continue.

### Configure OAuth Scopes

Add the required OAuth scopes in the Salesforce External Client App.

![A screenshot of a computer AI-generated content may be incorrect.](/files/56e53c38e8759f10da3848a4bd2c2d178c6d0483)

![A screenshot of a computer AI-generated content may be incorrect.](/files/a7644db14cb40f29362809402a64b6654c456ca4)

The following scopes must be enabled:

* **Access the identity URL service (id, profile, email, address, phone)**
* **Manage user data via APIs (api)**
* **Manage user data via Web browsers (web)**
* **Full access (full)**
* **Perform requests at any time (refresh\_token, offline\_access)**

Ensure the **Callback URL (Redirect URI)** matches exactly with the value provided in Vault.

Any mismatch will result in connection failure.

### Enter OAuth Credentials

After completing the Salesforce External Client App configuration, provide the OAuth credentials in Vault.

![A screenshot of a computer AI-generated content may be incorrect.](/files/b103d24dceabfb5a8cafc7597e0e96ad02ab90f3)

Enter the following details:

* **Client ID** – The Consumer Key generated from the Salesforce External Client App.
* **Client Secret** – The Consumer Secret generated from the Salesforce External Client App.

![A screenshot of a computer AI-generated content may be incorrect.](/files/0e446a96b00a4387a182fa157e9dad89318e1ec4)

These values are available in Salesforce under the External Client App configuration.

#### Where to Find the Credentials in Salesforce

1. Navigate to **Setup → App Manager**.
2. Locate the created **External Client App**.
3. Open the dropdown menu and select **View**.
4. Click **Manage Consumer Details**.
5. Copy the **Consumer Key (Client ID)** and **Consumer Secret (Client Secret)**.

Paste these values into the corresponding fields in Vault.

Click **Continue** to proceed to the authorization step.

### Authorize Vault to Access Salesforce

The **Connect to Salesforce** step initiates the OAuth authorization process.

![A screenshot of a computer AI-generated content may be incorrect.](/files/6a303a0fb22b2f1fd1a40df4c8f891255ead8a51)

![A screenshot of a computer AI-generated content may be incorrect.](/files/208dde057f372fe404997355998d4d00985b1c8d)

Vault displays the connection details for verification:

* **Org Title** – The name assigned during configuration.
* **Type** – The selected Salesforce environment (Production or Sandbox).
* **Login URL** – The Salesforce login endpoint used for authentication.

This step establishes a secure connection between Vault and the Salesforce organization.

Click **Connect to Salesforce** to begin the authorization process.

### Complete Salesforce Authorization

After clicking **Connect to Salesforce**, the following process occurs:

1. The browser redirects to the Salesforce login page.

![A screenshot of a web page AI-generated content may be incorrect.](/files/0700a9ff2be812e04505ec7c4dcfce5fcaa49061)

1. Authentication occurs using the provided Salesforce credentials.

![A screenshot of a computer AI-generated content may be incorrect.](/files/4365ff3dcd05bf4246a69a430ec327fea608f27f)

1. Salesforce displays the permissions requested by Vault.

   <figure><img src="/files/359td6JGKle0GxVOs5gT" alt=""><figcaption></figcaption></figure>

   <figure><img src="/files/K4GsLeURofMbNcrza5ly" alt=""><figcaption></figcaption></figure>
2. Select **Allow** to grant the required access.
3. After authorization, Salesforce redirects back to Vault automatically.

Vault then completes the validation and confirms the connection.

### Validation and Setup Completion

After the authorization process is completed, Vault validates the Salesforce connection and displays a **Connection Successful** confirmation.

![](/files/15ccc7dd8e789982bfcb8e1e414c92ee6af9ddd9)

The **Validation & Confirmation** step displays the environment details of the connected Salesforce org, including:

* **Org Title** – The name assigned during org registration.
* **Salesforce Org ID** – The unique identifier of the Salesforce environment.
* **Instance URL** – The Salesforce instance endpoint used for API communication.
* **Login URL** – The login endpoint used for authentication.

This confirmation indicates that the Salesforce organization has been successfully connected to Vault.

### Test the API Connection

To verify that Vault can communicate with the Salesforce environment, perform an API connectivity test.

1. In the **Test Your Connection** section, click **Test API Connection**.

![](/files/cccfea9f2c3d3d3a5a41a9ce8672092ef3f4a311)

### Verify the API Connection Status

If the connection test succeeds, Vault displays a confirmation message indicating that the API communication is working correctly.

![](/files/5ba3bbb1260a7524f46393c2ba395713dad45734)

A notification message appears confirming that the **API connection test was successful**.

This validation ensures that Vault can securely interact with the Salesforce environment using the configured OAuth credentials.

### Complete the Org Registration

After the connection test is successful:

1. Click **Finish**.

![A screenshot of a computer AI-generated content may be incorrect.](/files/5762edffbc7e1c6c6c7f694770b429b0b6ddbe17)

Vault completes the org registration process and closes the **Source Org Integration** wizard.

The newly connected Salesforce organization now appears in the **Salesforce Orgs List** within the **Setup** section and is available for Vault operations such as **Backup, Compare, Search & Compare, Restore, Replication, and Masking**.

### Confirm Successful Org Registration

After clicking **Finish**, Vault displays a confirmation message indicating that the Salesforce organization has been successfully registered.

![](/files/ffc8daba01557535badec055e1d2a12bd4eff8c9)

This confirmation verifies that the integration process has completed successfully and the Salesforce environment is now available for Vault operations.

Click **OK** to close the confirmation message.

### Verify the Registered Salesforce Org

After the confirmation message is closed, the **Salesforce Orgs List** page displays the newly registered organization.

![](/files/287e15429d1cc79c849e28aec80fba3a30cb6711)

The list provides key details for each connected environment, including:

1. **Org Title**
2. **Org ID**
3. **Environment Type**
4. **Username**
5. **Last Updated Time**
6. **Authentication Type**
7. **Instance URL**

The newly added organization now appears in this list and is ready to be used within Vault.

### Re-authenticate an Existing Org (If Required)

If authentication credentials expire or require renewal, the Salesforce organization can be re-authenticated directly from the **Salesforce Orgs List**.

![](/files/287e15429d1cc79c849e28aec80fba3a30cb6711)

To re-authenticate an organization:

1. Locate the required org in the **Salesforce Orgs List**.
2. Navigate to the **Actions** column.
3. Click the **Re-authenticate** icon.

Vault redirects to the Salesforce login page to complete the authentication process.

### Authenticate Through Salesforce Login

When the **Re-authenticate** action is initiated, the Salesforce login screen appears.

![](/files/4e2886c17a46b26a5969ef799eef4b9a3c114053)

Enter the following credentials:

* **Username**
* **Password**

Click **Log In** to authenticate the connection.

After successful authentication, Vault restores the secure connection with the Salesforce environment.

### Access Additional Org Actions

After the Salesforce org is successfully registered, additional management options are available for the connected org.

1. Navigate to **Setup**.
2. Locate the required org in the **Salesforce Orgs List**.
3. In the **Actions** column, click the **More actions (⋮)** icon.

![A list of numbers and numbers AI-generated content may be incorrect.](/files/1071c55d1879f0cca66d8fe1cd8197d8515a560e)

A menu appears displaying additional management options for the selected Salesforce org.

### View Org Configurations

The **More actions** menu provides multiple options for managing the registered Salesforce org.

![A list of numbers and numbers AI-generated content may be incorrect.](/files/a63b587a884a272465bc0f230addf04b31b9d65b)

To view the configurations associated with the org:

1. Click **View Configs**.

Vault opens the configuration view for the selected Salesforce org, allowing management of backup and archive configurations.

### View Backup Configurations

The **Configs** page displays the configurations created for the selected Salesforce org.

This page includes the following sections:

* **Configs Tab** – Displays configuration settings associated with the org.
* **Backup** – Lists backup configurations created for the org.
* **Archive** – Displays archive configurations, if configured.

The **Backup** section provides details such as:

* **Backup Config Name**
* **Config Type**
* **Frequency**
* **Schedule Time**
* **Backup Config Details**
* **Actions**
* **Last Backup Status**

![A screenshot of a computer AI-generated content may be incorrect.](/files/837fb0a8721c39143cff5639c7f07305f1c8f1e1)

From this page, new configurations can be created using:

* **Add Backup Config** – Create a new backup configuration.
* **Add Archive Config** – Create a new archive configuration.

The **Back to Orgs List** option allows navigation back to the **Salesforce Orgs List** page.

### Open the Salesforce Org Edit Option

Vault allows updating the configuration details of a registered Salesforce org.

1. Navigate to **Setup**.
2. Locate the required org in the **Salesforce Orgs List**.
3. In the **Actions** column, click the **More actions (⋮)** icon.
4. Select **Edit Salesforce Org**.

![A list of data on a computer AI-generated content may be incorrect.](/files/992c30fdfa2bf9b167f812e2407d5f09d9697500)

Vault opens the **Environment Details** window for the selected Salesforce environment.

### Update Salesforce Org Configuration

1. The **Environment Details** window allows modification of the registered Salesforce org configuration.

   ![](/files/7bdea6047e85108788db48477f7ebfe4bd1fd1b7)

   ![](/files/f09f8dc335d4bfeeede8058a60d38ee547ee2636)
2. Update the required fields as needed:

* **Environment Type** – Select **Salesforce** or **nCino**.
* **Salesforce API Version** – Choose the API version used for integration.
* **Org Title** – Modify the display name for the org.
* **Org Type** – Select **Production** or **Sandbox**.
* **Salesforce Login URL** – Verify or update the login endpoint if a **My Domain** or custom login URL is used.

2. After reviewing the changes, click **Save** to apply the updated configuration.

Vault updates the Salesforce org details while maintaining the existing connection settings.

### Open Client Key Configuration

1. In the **Salesforce Orgs List**, locate the required org.
2. Click the **More Actions (⋮)** menu under the **Actions** column.
3. Select **Edit Client Keys**.

   <figure><img src="/files/y6UmGlcA56Gb3ywQyW3c" alt=""><figcaption></figcaption></figure>

The **Edit Credentials** configuration wizard opens, allowing the External Client App credentials to be configured.

### Configure Salesforce External Client App

The first stage of the wizard provides guidance for creating an **External Client App** in Salesforce.

1. In the **Salesforce Admin Setup** section, follow the instructions to create an External Client App in Salesforce:

* Navigate to **Setup → App Manager**.
* Create a **New External Client App**.
* Enable the **OAuth Plugin**.
* Select **Authorization Code (Web Server) Flow**.
* Disable the **PKCE security option** if required.

  ![](/files/25c0de68d8c6d51eac8db51fd38241c256f4177d)

1. Copy the **Callback URL (Redirect URI)** displayed in Vault and add it to the External Client App configuration in Salesforce.

   ![](/files/a08d148b10bedd3f6d0344a3b15cebcb44192936)
2. Configure the following **OAuth scopes** in Salesforce:

* Access the identity URL service
* Manage user data via APIs
* Manage user data via Web browsers
* Full access
* Perform requests at any time (refresh\_token, offline\_access)

  ![](/files/f2eba36d3bd0b87de13d0da203d48b794447703f)

1. Ensure that the **Redirect URI in Salesforce exactly matches the Callback URL displayed in Vault** to prevent connection failures.
2. After completing the Salesforce configuration, click **Next** to proceed.

### Enter Client Credentials

1. In the **Edit Credentials** step, enter the following values from the Salesforce External Client App:

* **Client ID** – The Consumer Key generated in Salesforce.

  ![](/files/a47ea416e4ca805698466c67f6986d44ffe5ede9)
* **Client Secret** – The Consumer Secret generated in Salesforce.

  ![](/files/2b6475e3219ee833397caa9f125b74c4ad963bfc)

1. These values can be retrieved in Salesforce by navigating to:**Setup → App Manager → External Client App → Manage Consumer Details**.
2. After entering the credentials, proceed to save and re-authenticate the connection.

Vault uses these credentials to securely establish OAuth authentication with the Salesforce org.

### Open Connect Configuration

1. In the **Salesforce Orgs List**, locate the required Salesforce org.
2. Click the **More Actions (⋮)** menu under the **Actions** column.
3. Select **Connect (Beta)**.

   ![](/files/f22bbb38281601e2c9df61bcdc4028d6b1d444ef)

The **Connect (Beta)** configuration page opens for the selected org.

### Access the Connect (Beta) Page

1. After selecting **Connect (Beta)**, the **Connect (Beta)** tab opens within the org configuration screen.

   ![A screenshot of a computer AI-generated content may be incorrect.](/files/d46f996d2fe0b5d453f21afaf24092afea5c2a40)
2. This page displays all configured **Connect jobs** for the selected org.
3. The following options are available on this page:

* **Sync with Salesforce** – Synchronizes connect configurations with Salesforce.
* **Add Connect Config** – Creates a new Connect configuration.
* **Refresh** – Reloads the connect configuration list.

3. If no configurations exist, the page displays the message **“No Connects.”**
4. To create a new configuration, click **Add Connect Config**.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://knowledgebase.autorabit.com/product-guides/vault/configuring-vault/registering-salesforce-org.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
