> For the complete documentation index, see [llms.txt](https://help.readymage.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.readymage.com/application-management/variables-management.md).

# Variables Management

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

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

### Add Environment Variable

1. Click **Add Variable**

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

2. Enter variable name (1), variable value (2) and click **Save** (3).

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

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

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

### Edit Environment Variable

Click on "**Pencil" icon** to open the environment variable edit modal.

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

<figure><img src="/files/2ASuIODwu886J6m8egsd" alt=""><figcaption></figcaption></figure>

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

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

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

### Remove Environment Variable

Click on **Trash Icon**(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

<div><figure><img src="/files/0C5Eer4ESkYEPS0ai1Xc" alt=""><figcaption><p>Open <strong>Raw Editor modal</strong></p></figcaption></figure> <figure><img src="/files/p8gUs1XueesQX1UjRdPF" alt=""><figcaption><p>Raw Editor ENV view</p></figcaption></figure></div>

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/wIkoKO5waCi0QahjuX1L" alt=""><figcaption></figcaption></figure>

## Hyva Credentials

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

<figure><img src="/files/7U8XlpqvtvhxJyAr8DZx" 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/ZcNkThfPDItZkJ3ZFsXt" alt=""><figcaption></figcaption></figure>

## Packagist

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

Instead, use `COMPOSER_AUTH` environment variable.

<div><figure><img src="/files/vnkvO2vSwxzlM3x5Qyf8" alt="Access Composer Auth modal"><figcaption><p>Access <strong>Composer Auth</strong> Modal</p></figcaption></figure> <figure><img src="/files/s6ZOK6o8c8zKzAohLXvY" alt="Composer Auth modal"><figcaption><p>Composer Auth modal</p></figcaption></figure></div>
