> ## Documentation Index
> Fetch the complete documentation index at: https://docs.automq.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Manage Environment License

> Manage your AutoMQ Cloud BYOC environment efficiently with prepaid licenses that offer 14-day free trials, scalability, cost efficiency, and full Kafka compatibility.

<Tip>
  This document applies only to the prepaid billing model. If you are using an AWS environment, we recommend [Usage-Based Billing](/automq-cloud/subscriptions-and-billings/byoc-env-billings/usage-based-billing), which does not require License management.
</Tip>

When using the AutoMQ Cloud BYOC product, if you choose the prepaid subscription license payment method, you need to refer to this document to manage the license within the environment.

<Info>
  In this document, AutoMQ product service provider, AutoMQ service provider and AutoMQ each specifically refer to AutoMQ HK Limited.
</Info>

## Obtaining a License

When a new user installs the AutoMQ Cloud BYOC environment for the first time, a built-in free trial license is provided by default, allowing for a quick experience of AutoMQ without purchase.

<Tip>
  The default free trial license is valid for 14 days and supports a free trial quota of 14 AKUs. For the definition of AKU, refer to the documentation [Billing Instructions for BYOC▸](/automq-cloud/subscriptions-and-billings/byoc-env-billings/billing-instructions-for-byoc).
</Tip>

Formal production environment users can purchase a license through the following channels:

<Tabs>
  <Tab title="Offline Contract Procurement License">
    Users can contact the AutoMQ technical team to purchase a license through [Obtaining Services▸](/automq-cloud/support/obtaining-services).
  </Tab>

  <Tab title="AWS Marketplace Purchase License">
    The AutoMQ BYOC subscription license is now available on the **AWS Marketplace**, with the product name [AutoMQ for Kafka (BYOC Monthly Subscription License)](https://aws.amazon.com/marketplace/pp/prodview-5jgdxi4mhl4rg). The overall workflow is shown in the figure below:

    1. AWS users can visit Marketplace, search for AutoMQ or Kafka, locate [AutoMQ for Kafka (BYOC Monthly Subscription License)](https://aws.amazon.com/marketplace/pp/prodview-5jgdxi4mhl4rg), select the appropriate specification version and subscription period, then activate the subscription.

    <img src="https://mintcdn.com/automq/Nkuel_v7FAcWxmbN/automq-cloud/manage-environments/manage-environment-license/3.webp?fit=max&auto=format&n=Nkuel_v7FAcWxmbN&q=85&s=52ae05e923a4883fe95d9a2bd849dc69" width="2638" height="1224" data-path="automq-cloud/manage-environments/manage-environment-license/3.webp" />

    2. Choose the desired subscription quantity and duration.

    <img src="https://mintcdn.com/automq/Nkuel_v7FAcWxmbN/automq-cloud/manage-environments/manage-environment-license/4.webp?fit=max&auto=format&n=Nkuel_v7FAcWxmbN&q=85&s=7643a4cb95a6685107ab1a783819275f" width="2458" height="1542" data-path="automq-cloud/manage-environments/manage-environment-license/4.webp" />

    3. After completing the purchase, click **Setup Product** to be redirected to the AutoMQ Contact page. Complete the License information and reach out to AutoMQ technical support to obtain the product key.

    <img src="https://mintcdn.com/automq/Nkuel_v7FAcWxmbN/automq-cloud/manage-environments/manage-environment-license/5.webp?fit=max&auto=format&n=Nkuel_v7FAcWxmbN&q=85&s=589604f39d282608f5eaecf2870f2532" width="2644" height="1602" data-path="automq-cloud/manage-environments/manage-environment-license/5.webp" />
  </Tab>
</Tabs>

## Using the License to Activate the Environment

After installing the user BYOC environment and purchasing the License, refer to the documentation below for environment activation.

### Operational Steps

1. Log in to the BYOC environment console and navigate to the **Settings** page.

<img src="https://mintcdn.com/automq/Nkuel_v7FAcWxmbN/automq-cloud/manage-environments/manage-environment-license/6.webp?fit=max&auto=format&n=Nkuel_v7FAcWxmbN&q=85&s=d5d046666be940fd8e7a0f2333ac3573" width="3374" height="884" data-path="automq-cloud/manage-environments/manage-environment-license/6.webp" />

2. Gather the environment **Installation ID** and configure the license information purchased in the previous step. Contact AutoMQ technical personnel to obtain the activation **product key**.

The product key for environment activation will be in a format similar to the following:

```text theme={null}

eyJpbnN0YWxsSWQiOiJmMGQzZDRlNmJmMjhjNTBjNGM3M2RjNzdkZTUzYTZiOSIsImVudmlyb25txxxxxxxdXRvTVEgZm9yIEthZmthICggQllPQyBNb250aGx5IFN1YnNjcmlwdGlvxxxxaWNlbnNlICkifX19

```

3. Return to the **Settings** page and click **Update product license**. Enter the product key to complete environment activation. You can then proceed to create instances normally.

<img src="https://mintcdn.com/automq/Nkuel_v7FAcWxmbN/automq-cloud/manage-environments/manage-environment-license/7.webp?fit=max&auto=format&n=Nkuel_v7FAcWxmbN&q=85&s=e554cd3a944582a61ad125c93084559b" width="1176" height="1132" data-path="automq-cloud/manage-environments/manage-environment-license/7.webp" />
