# How to set the variables?

**URL:** <https://community.okteto.com/t/how-to-set-the-variables/771>\
**Category:** Help\
**Created:** [April 10, 2023, 12:18am UTC](https://community.okteto.com/t/how-to-set-the-variables/771 "2023-04-10T00:18:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fscarmen2](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/fscarmen2/32/342_2.png) [@fscarmen2](https://community.okteto.com/u/fscarmen2)\
**Post date:** [April 10, 2023, 12:18am UTC](https://community.okteto.com/t/how-to-set-the-variables/771/1 "2023-04-10T00:18:03Z")

</div>

I set the variables in “Launch Dev Environment”. But it didn’t take effect.

 ![unnamed](https://us1.discourse-cdn.com/flex019/uploads/okteto/original/1X/de9a471c7cefee7fd439c424de63842d5d491d6c.png)

---

<div class="post-metadata">

**Author:** ![ramiro](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/ramiro/32/6_2.png) [@ramiro](https://community.okteto.com/u/ramiro)\
**Post date:** [April 10, 2023, 12:28am UTC](https://community.okteto.com/t/how-to-set-the-variables/771/2 "2023-04-10T00:28:52Z")

</div>

Hey @fscarmen2! The variables that are defined on the dialog are available as environment variables for all the commands on the `deploy` section of your Okteto manifest (or in your Docker compose file).

In order for your application to use it, you need to pass the value to your application during the `deploy` phase. This can be done by setting the value when building a container, by passing it as a parameter in a helm chart, as a Kubernetes secret, a Kubernetes config map, or as an environment variable [in your docker-compose file](https://www.okteto.com/docs/reference/compose/#environment-string-optional).
