> ## Documentation Index
> Fetch the complete documentation index at: https://docs.datazone.co/llms.txt
> Use this file to discover all available pages before exploring further.

# Variables

> Variables are used to store and manage data in the Datazone platform. You can define variables in the Datazone dashboard and use them in your pipelines.

## Overview

<Frame>
  <img src="https://mintcdn.com/datazone/CPfU2317ON-ViLNN/images/light/variables-list-page.png?fit=max&auto=format&n=CPfU2317ON-ViLNN&q=85&s=a91092953b337a0901d5fa35359f6acb" alt="api-key" width="1920" height="1080" data-path="images/light/variables-list-page.png" />
</Frame>

1. Click **Settings** in the top right corner session context menu.
2. Click **Variables** in the left sidebar.
3. Click **Create** to create a new Variable.
4. Enter a name for the Variable and value. Also, you can define whether the variable is secret or not. If you define the variable as secret, the value will be encrypted and will not be shown in the UI.
5. Click **Create**.

<Frame>
  <img src="https://mintcdn.com/datazone/CPfU2317ON-ViLNN/images/light/variable-create-modal.png?fit=max&auto=format&n=CPfU2317ON-ViLNN&q=85&s=00353f7f5a31be3151cfa96c8f427e1f" alt="api-key" width="1920" height="1080" data-path="images/light/variable-create-modal.png" />
</Frame>

## Usage

You can use the Variable in your pipelines and notebooks. You can access the Variable value using the `Variable` class.

```python theme={null}
from datazone import Variable, transform

@transform
def my_transform():
    variable = Variable(key="my-secret-variable")
    print(str(variable))
```

<Info>
  Also in Notebooks, you can use the `Variable` class to access the Variable value.
</Info>
