# Azure blob storage configuration

On a self-hosted version, the file upload (e.g. for the [Image](https://docs.uibakery.io/reference/working-with-components/image) component) is possible with Azure blob storage.&#x20;

## Variables

Set the following variables in the .env file:

<table><thead><tr><th width="332">Variable</th><th>Value (example)</th></tr></thead><tbody><tr><td><code>UI_BAKERY_AZURE_CONTAINER_PREFIX</code></td><td><a href="https://test.blob.core.windows.net/assets/">https://test.blob.core.windows.net/assets/</a></td></tr><tr><td><code>UI_BAKERY_AZURE_BLOB_STORAGE_CONNECTION_STRING</code></td><td><code>DefaultEndpointsProtocol=https; AccountName=test; AccountKey=...</code></td></tr><tr><td><code>UI_BAKERY_AZURE_CONTAINER_NAME</code></td><td><code>assets</code></td></tr></tbody></table>

Once the variables are configured, the instance should be restarted.
