Setting Up Liferay

Activating Liferay DXP

Starting with the 2026.Q1 release, all Liferay DXP installations—including trial and free-tier environments—require an XML (.xml) activation key to enable core features and services. This key defines your subscription terms, trial agreement, or Free Tier validity period (which requires renewal every 12 months).

Official Docker images include a deployed trial key. Other installation types (e.g., bundles) prompt for a key via the activation interface if one is not already present in the deployment folder. In both cases, you must deploy a permanent activation key to maintain installation validity beyond the initial 30 days.

Note

These are the standard guidelines for activation with any application server deployment. There are, however, important distinctions and nuances for Docker or Cloud Native environments. Refer to Docker and Cloud Native Deployments for environment-specific activation guides.

When you run DXP for the first time, it displays the license page.

Acquiring Activation Keys

When you start Liferay DXP for the first time, the platform enters a setup state and requests an activation key before allowing access to the console. Your choice of tier determines how you acquire your key and features available:

TierKey Acquisition
Free TierLiferay Marketplace
Enterprise SubscriptionLiferay Customer Portal

How to Get a Free Tier Key

To obtain a Free Tier activation key:

  1. Navigate to the Liferay DXP - Free Tier page in the Marketplace.

  2. Click Get Activation Key and sign in to your Marketplace account.

  3. Complete the Activation Key Creation form and click Get Activation Key.

  4. Click Download to save the .xml file to your local machine.

To manage, renew, or re-download your existing Free Tier keys:

  1. Open the Dashboard menu and select Customer.

    Open the Dashboard menu and click Customer.

  2. Click My Products to view your active keys and manage their renewal status.

    Click My Products to view and re-download your active keys.

How to Get an Enterprise Key

Enterprise keys are managed through the Liferay Customer Portal by authorized project administrators.

  1. Sign in to the Customer Portal.

  2. Click Activation Keys in the main navigation.

  3. Locate the appropriate project and environment, then download the required .xml key.

Once you have acquired your activation key, follow the deployment steps below to activate your Liferay DXP instance.

Activating DXP

For standard/local deployments (e.g. bundles), activate Liferay by deploying the activation key XML file directly to the deploy folder in your Liferay Home.

[LIFERAY_HOME]
    ├── data
    ├── deploy
    │   └── my-activation-key.xml <-- Drop key here
    ├── license
    ├── logs
    ├── osgi
    ├── patching-tool
    ├── tools
    └── work

A message in the DXP console confirms the registration.

License registered ...

License Manager

License Manager provides a centralized view of your server and license status. To access it, click License Manager on the initial activation page, or if your instance is already running, log in as an administrator and navigate to Global MenuControl PanelLicense Manager.

The license manager page displays server and license information.

The License Manager displays the license status (e.g., active or expired), alongside details like the license type and expiration date.

Reactivating Liferay DXP

To apply a new activation key or upgrade from a Free Tier to an Enterprise Subscription, you must replace the existing license files.

  1. Stop the application server.

  2. Delete the contents of your [Liferay Home]/data/license folder but preserve the folder.

  3. Navigate to [Liferay Home]/osgi/modules folder and remove any activation-key-[...].xml files.

  4. Start the application server.

  5. Deploy the new activation key file to your [Liferay Home]/deploy folder.

A DXP console message confirms the registration.

License registered ...
Important

If you’re using a clustered environment, the whole cluster must be shut down so you can replace the keys on one node at a time.

If you have an enterprise subscription and need further assistance, contact Account Support or create a support ticket.

Docker and Cloud Native Deployments

For deployments using Docker or Cloud Native Experience (CNE), follow these implementation steps: