---
schema_version: "1"
id: 02bd5bcb19f98ce8e360a9f948afc4083f36a92a67b5a7dde85c3a267fac5ebf
title: Publishing Your App on AgentExchange
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform-pkg-exchange/managed_packaging/guides/second-generation/sfdx-dev-dev2gp-publish-appexchange.md
canonical_url: https://developer.salesforce.com/docs/platform/pkg2-dev/guide/sfdx-dev-dev2gp-publish-appexchange.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 324f4eaec45030e7fe4123f6a7e74281b928fa01da5cc47834da71c4b5466b6b
products:
  - Second-Generation Managed Packaging Developer Guide
  - merged-docs
---

# Publishing Your App on AgentExchange

If you’ve published a first-generation managed package, you’ll notice the process for publishing a second-generation managed package (managed 2GP) is different. After you link your Dev Hub org to the AgentExchange partner console, all your released managed 2GP package versions are visible in the partner console.

To list an app on AgentExchange, it must pass the AgentExchange security review. For more information, see [Pass the AgentExchange Security Review](https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/security_review_guidelines.htm) in the ISVforce Guide.

## Link Dev Hub to the AgentExchange Partner Console

- Log in to the [Salesforce Partner Community](https://partners.salesforce.com/).
- Select the **Publishing** tab
- Click **Technologies**
- Click **Org**
- Click **Connect Technology**, and **Org**
- Click **Connect Org** and **Allow**, and enter the login credentials for your Dev Hub org.

## Register Your Managed 2GP Package

- From the Solutions tab, locate the package version you want to register, and click **Register Package**. Registering a package links the package to your [license management app](https://developer.salesforce.com/docs/atlas.en-us.pkg2_dev.meta/pkg2_dev/packaging_manage_licenses.htm).
- Enter the login credentials for the Dev Hub org associated with the package in the modal window.
- Set the default license behavior for the package, including trial length, and number of seats included with the license, and click **Save**.

Packages that share a namespace can be associated with the same License Management Org (LMO), or you can associate the packages with different LMOs.

**See Also**

- [_ISVforce Guide_: Create or Edit Your AgentExchange Listing](https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/appexchange_publish_listings.htm)
- [_ISVforce Guide_: Pass the AgentExchange Security Review](https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/security_review_guidelines.htm)
