---
schema_version: "1"
id: 7fe273edb4e3defc9d9c8b85d16ee547f60547bf733eec801901ad108153cf8b
title: Package an External Client App with First-Generation Managed Packages
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/xcloud/264-0-0/package_external_client_app_with_1gp.md
canonical_url: https://help.salesforce.com/s/articleView?id=xcloud.package_external_client_app_with_1gp.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 2e31b72ef0cd9faa5d467c6a0161842e8bbe50a28d28dc6444f3217301a54618
description: Use first-generation managed packages to distribute external client apps to other orgs. Create an external client app with Packaged distribution state, add it to your managed package, and install the package in subscriber orgs.
products:
  - Security
  - Cross Cloud
release: "264"
---
# Package an External Client App with First-Generation Managed Packages

Use first-generation managed packages to distribute external client apps to other orgs. Create an external client app with Packaged distribution state, add it to your managed package, and install the package in subscriber orgs.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-identity-264-0-0-production-enus/699dab6f-8f1a-4662-b24f-6521d5b747f7/images/icon_note.png)

Note External client apps can only be packaged with 1GP managed packaging in the org where they were created.

Before you package an external client app with a first-generation managed package:

- Create an external client app and set its distribution state to Packaged. To convert a local external client app to packaged in Setup, go to App Manager, view your external client app, and set Distribution State to `Packaged`.
- Have an existing first-generation managed package or enable a namespace to create one.

1. From Setup, in the Quick Find box, enter Package Manager, and then select **Package Manager**.
2. Create a new managed package or select an existing one.
    
    To create a new package, you need a namespace enabled in your org. From Setup, go to Namespace Settings to enable a namespace.
3. Click **Add** to add components to your package.
4. From the Component Type dropdown, select **External Client Application**.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-identity-264-0-0-production-enus/699dab6f-8f1a-4662-b24f-6521d5b747f7/images/icon_note.png)
    
    Note Only external client apps with Packaged distribution state appear in the list. If you don't see your external client app, confirm that the distribution state is Packaged in the External Client App Manager.
5. Select your external client app and add it to the package.
    
    Adding an external client app automatically includes dependent plugin entities. You can add other related entities.
6. Create a package version.
    
    Select Beta or Released based on your distribution needs.
7. Install the package in subscriber orgs by using the package installation link.

After installation, update external client app policies as needed before performing authorization flows.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-xcloud-identity-264-0-0-production-enus/699dab6f-8f1a-4662-b24f-6521d5b747f7/images/icon_note.png)

Note If you delete the external client app from the source org, the subscriber org's external client app breaks. The subscriber org depends on information in the global OAuth settings on the source org. Removal of the external client app causes the OAuth flow to fail in the subscriber org.