> For the complete documentation index, see [llms.txt](https://help.alianhub.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.alianhub.com/cpanel-hosting-guide/6.-setup-environment-variables.md).

# 6. Setup Environment variables

After the successful setup of the application in the local environment\
You get the file name .env in your project directory open it&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXfTJEghgajAD34yrK2QlT9I8or4vLW_e-uYeWHZWz3PdraETSS0w-6zQ7KY9u375COcBDixIttCes2PY-tXR37VZUxHoF16MfIlG7BqQM7nMUYwHLEQipq0ny0tcRjzxjgH-LnXe5W9X_Co9kTaXUCzcj9d?key=0eHl8EwBAzOYpdNHPyFeKw" alt=""><figcaption></figcaption></figure>

Therefore now need to setup an **Environment variables**

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXfH5O-Zwfj8wUYwfXBjguW518HL0qn-SZjD8cGkuq1UcRI6Ykv6dxsjIwtD4Ah06hTt_94RWTHUN58IFdQ3r2QZEtCHxgIFW8xoZi9sl96xfvczltDKia4re0V5u3twMQjwoJ-Eer1_TN_ptE9z9BVYlPO4?key=0eHl8EwBAzOYpdNHPyFeKw" alt=""><figcaption></figcaption></figure>

Now from the file **“.env”** file you need to add one by one variable in the input field

Make sure to avoid **( ‘  ‘ )** inverted commas will adding the variable

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXffDU9DVXQYiN5fLZSWxv7Lw-faH8GFHX2gs94qlmnIrxPIrOnA6l2OWnpWc2ryWtvzzMQLaRqB3pCjniVrXeEjqUbaN6WBb4nQ72aa1u2JG4x8oh2O4z65dQDOPdBp94vOxyUDuPJWrfJUe60iW8limSAK?key=0eHl8EwBAzOYpdNHPyFeKw" alt=""><figcaption></figcaption></figure>

For Example&#x20;

Add the variable and enter **Done** after every single variable you add&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXfTSaWbuJbvZzHgV28pP0E-5QpcSFRzqfxYqGQMEg09dLO6tjZfix7o9u9RNX7vXVp2E0ZDTe3Ej5FcVEUs3r1foNukJ6Pb4i5vuHQIxrvO5WX9MwMKNK30oKV1fynutcIdPOqfQMNVrK1jbiS9d3wR8Yk?key=0eHl8EwBAzOYpdNHPyFeKw" alt=""><figcaption></figcaption></figure>

Add all the variable from **“.env”** file\
Make sure <mark style="color:red;">**not to miss**</mark> any single variable

After Adding Environment variables Click on **Save**

<figure><img src="https://lh7-us.googleusercontent.com/docsz/AD_4nXfk_9hyXzEtVJaXtRxYmZfLziUIoZsrwPCth8UI5fEdOcLeZfGnfI3zBp3tssT6RadEecLley--wWMsCaaN0VU8IcVQn0MWdLx13l-ziGLHFlKT6r_pIm5posKIMRPBZ0lt-gO1GNwxBtQ2vROIwfvLfBV3?key=0eHl8EwBAzOYpdNHPyFeKw" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://help.alianhub.com/cpanel-hosting-guide/6.-setup-environment-variables.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
