# Variables Management

On this page, you can add/edit/remove environment variables that are used by your application.

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

### Add Environment Variable

Click **Add Variable** (1), enter variable name (2), variable value (3) and click **Add Variable** (4).

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

After the environment variable is added, redeployment will be required for changes to be applied.

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

You can also click **See Changes** to see what changes will be applied after deployment.

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

### Edit Environment Variable

Click the **Three Dots** button to open the context menu (1), click the **Edit** button (2) to open the environment variable edit modal.

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

Click **Edit value** and enter the new value of the variable.

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

When finished editing the value, click **Save**.

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

You will see changes in the **See Changes** modal as well as on the page itself by clicking **See Value** button.

<div><figure><img src="/files/juxzk4FjvI6ZZhvcbycC" alt=""><figcaption></figcaption></figure> <figure><img src="/files/s8VP1ihK6oIys5H21qQS" alt=""><figcaption></figcaption></figure></div>

### Remove Environment Variable

Click on **Three Dots** (1) near the variable you want to remove then click on **Delete** button (2).

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

In the opened modal, confirm that you want to delete a variable by clicking the **Yes, Delete** button.

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

If the variable is new and has not been deployed yet, it will be removed **immediately**.

If the variable was already deployed, you will see in **See Changes** that it will be removed **after** deployment.

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

## Raw Editor

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

Inside the Raw Editor modal, you can copy all environment variables, add/edit/delete them in bulk. And view them in JSON.

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

## Hyva Credentials

The Variables Management page also includes **Hyva Credentials** modal.

<figure><img src="/files/1y4d7QJgYLI05v92EsJk" alt=""><figcaption></figcaption></figure>

Here you can enter the **Hyva License Key** and the **Hyva Composer Repository** directly. Portal will also perform a check to see if the provided license key has access to the Hyva theme.

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

## Packagist

To install packages from Packagist, you need to provide `COMPOSER_AUTH` environment variable or have `auth.json` file in the repository. It is generally **recommended against** committing `auth.json` tointo the source code.

Instead, use `COMPOSER_AUTH` environment variable.

<div><figure><img src="/files/ZofXk4uYCZP87fG4YQEB" alt=""><figcaption></figcaption></figure> <figure><img src="/files/ZIQMTcTGcqctz6xAqHLv" alt=""><figcaption></figcaption></figure></div>


---

# 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.readymage.com/application-management/variables-management.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.
