> For the complete documentation index, see [llms.txt](https://docs.akinon.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.akinon.com/tutorials/acc/how-to-manage-build-variables.md).

# How to Manage Build Variables

Build variables let you pass environment-specific values into an application's build process — for example, a private key needed to authenticate with a private package repository. Once defined, these variables are injected as environment variables during each new build and can be accessed from within `build.sh`.

{% stepper %}
{% step %}
Go to **My Applications** and click the settings icon on the row of the application you want to configure.

<figure><img src="https://3333414532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIbwGN7KwvYi0iLbjtnXz%2Fuploads%2F0EmcfSDqAbuPF0M7COGt%2Fbuild_step1.png?alt=media&amp;token=07ef21fd-e5fe-44c9-bfde-475f9fbd3513" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
On the application's **Settings** page, click **Build Variables** to switch to the build variables tab.

<figure><img src="https://3333414532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIbwGN7KwvYi0iLbjtnXz%2Fuploads%2FCSAkDnl3X42nSTr1VvhO%2Fbuild_step2.png?alt=media&amp;token=36ae478c-7544-4f2a-9c74-2dd6fd6487d9" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Click **+New Build Variable** to open the form for adding a new variable.

<figure><img src="https://3333414532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIbwGN7KwvYi0iLbjtnXz%2Fuploads%2F2RCZdQZWOaAq0uDeo67E%2Fbuild_step3.png?alt=media&amp;token=3e38a504-885b-4e38-bcd4-3d7dfcc5881b" alt=""><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Enter a **Name** and **Value** for the variable. Optionally check **Mark as secret** to hide the value after creation, then click **Save**.

<figure><img src="https://3333414532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIbwGN7KwvYi0iLbjtnXz%2Fuploads%2F0qi8GQN5LkW76GWIeOFf%2Fbuild_step4.png?alt=media&amp;token=8114efcb-3834-4fee-9a3b-56ad662b961b" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Once a variable is marked as secret, its value can no longer be read after creation.
{% endhint %}
{% endstep %}

{% step %}
From the list, use the actions column to edit or delete an existing build variable.

<figure><img src="https://3333414532-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIbwGN7KwvYi0iLbjtnXz%2Fuploads%2FC4ZrzOTGzJea0m0xJeAf%2Fbuild_step5.png?alt=media&amp;token=6e799874-4207-448e-97f3-dc9b052341e7" alt=""><figcaption></figcaption></figure>
{% endstep %}
{% endstepper %}


---

# 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://docs.akinon.com/tutorials/acc/how-to-manage-build-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.
