# 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](/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://a.sfdcstatic.com/developer-website/sfdocs/platform-pkg-exchange/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](/docs/platform/isvforce/guide/appexchange-publish-organizations.md)
