---
schema_version: "1"
id: dda74f23ba9c00e4bc199b152ae87ed44d380b74cc7c3329abdf79ba38636cfe
title: Retrieve Data from the Source Org
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/retrieve_data_from_the_source_org.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.retrieve_data_from_the_source_org.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 3b082540b63880b54ced63ea4df050f215baca56015a4aec162a713695cd9308
description: Get external client app metadata from the source org using a retrieve operation.
products:
  - Security
  - Cross Cloud
release: "264"
---
# Retrieve Data from the Source Org

Get external client app metadata from the source org using a retrieve operation.

Verify that the package.xml manifest file in org 1 is configured with the four components of the external client app.

```
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>*</members>
        <name>ExternalClientApplication</name>
    </types>
    <types>
        <members>*</members>
        <name>ExtlClntAppOauthSettings</name>
    </types>
    <types>
        <members>*</members>
        <name>ExtlClntAppGlobalOauthSettings</name>
    </types>
    <types>
        <members>*</members>
        <name>ExtlClntAppOauthConfigurablePolicies</name>
    </types>
    <version>58.0</version>
</Package>
```

Run the retrieve command using the credentials for the source org.

`sf project retrieve start --manifest package.xml --target-org johndoe@example.com`

Now that you have the source org data from org 1, there are two options for deploying external client apps. Either the deployed app references the OAuth credentials of the source org or it generates a new OAuth global settings file when it’s deployed.