---
schema_version: "1"
id: 712db09e48b58c7526594fa42fff8e54712cb0275f23ef760f967c870ddc6743
title: Set Default Licensing for Your Managed Package
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform-pkg-exchange/isvforce/guides/appexchange-publish-manage.md
canonical_url: https://developer.salesforce.com/docs/platform/isvforce/guide/appexchange-publish-manage.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 7cb6640b712ac495952747efc140fdb5d2536edc4b07304bf6c0a79c60d8702c
products:
  - ISVforce Guide
  - merged-docs
---

# Set Default Licensing for Your Managed Package

If you set up the License Management App (LMA) and register your managed package, you receive a license record each time a customer installs your AgentExchange solution. You can use licenses to track who's using your solution and for how long.

## Before You Begin

Before you register a package version, make sure that:

-   Your solution is in a managed package.
-   You installed the LMA. In most cases, the LMA is installed in your Partner Business Org.
-   You connected the org that has the LMA to the AgentExchange Partner Console.

## Steps

1.  Go to the Partner Console.

    See [Access the AgentExchange Partner Console](https://developer.salesforce.com/docs/platform/isvforce/guide/appexchange-launch-partner-console.md).

2.  Click **Technologies** | **Solutions**.

3.  Click a solution name to show the related versions.

4.  Locate the package version that you want to register.

5.  Confirm that you see Unregistered Package (1) in the Licenses column (2).

    **tip:** If you don’t see a Licenses column, it most likely means that the solution isn’t a managed package. You can register only managed packages.

6.  Click **Register Package** (3).

    If the Register Package link is missing and you instead see Edit Licenses (4), the package is already registered and you’re done.

    ![A list of solutions on the Partner Console's Solutions tab with numbered callouts on the Licenses column ](https://developer.salesforce.com/docs/media/appexchange_register_licenses.png)

7.  Follow the prompts to log in to the org where the LMA is installed. Provide a username and a password with a security token appended. For example, if the password is ABC and the token is 123, enter `ABC123`. Don’t remember your token? [Reset your security token](https://help.salesforce.com/articleView?id=user_security_token.htm&type=5).

8.  Edit the default license settings.

    1.  Select whether your default license is **Free Trial** or **Active**. For a Free Trial license, enter a number up to 90 for the number of trial days.

    2.  Select whether your license is applied **Per seat** or **Site-wide**. For a per-seat license, enter the number of seats to assign to the license.

    3.  Save your changes.


**See Also**  


-   [*Second-Generation Managed Packaging Developer Guide:* Manage Licenses for Managed Packages](https://developer.salesforce.com/docs/atlas.en-us.pkg2_dev.meta/pkg2_dev/lma_intro.htm)
-   [*Salesforce Help:* Reset Your Security Token](https://help.salesforce.com/articleView?id=user_security_token.htm&type=5)
-   [Connect Your Partner Business Org to the AgentExchange Partner Console](https://developer.salesforce.com/docs/platform/isvforce/guide/appexchange-publish-organizations.md)

