# 2. Generate License Key

### 2.1 Generate License Key

1. Go to [***https://console.alianhub.com***](https://console.alianhub.com) to register an account, and then log in after verifying your email address.
2. After logging in, click on the ‘**Create New Licenses**’ button.

<figure><img src="/files/CWcoZn0N9mDBJ3AWkGin" alt=""><figcaption></figcaption></figure>

3. Enter your CodeCanyon purchase code and your domain URL in the protection URL tab and click on the ‘**Generate Key**’ button.

<figure><img src="/files/zKfW5a6b1Ca6Q84lkDMn" alt=""><figcaption></figcaption></figure>

4. After successful key generation, you need to copy this and use it in the domain verification field.

<figure><img src="/files/nym4eeF794ianwMb9rbQ" alt=""><figcaption></figcaption></figure>

5. After that, you need to visit its detail page where you can download the base <mark style="color:red;">env file</mark>. The file will be named '<mark style="color:red;">**procution.env**</mark>'.

<figure><img src="/files/mUiuAOQruvVp3B3Wy1Tp" alt=""><figcaption></figcaption></figure>

6. Now take that file and place it in your project directory and then rename it to '<mark style="color:red;">.env</mark>'.

<figure><img src="/files/xroj0f731WZHoa0W9CJM" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.alianhub.com/app-installation-and-start-guide/2.-generate-license-key.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
