Customizing the UI¶
Customizing DAG UI Header and Airflow Page Titles¶
Airflow now allows you to customize the DAG home page header and page title. This will help distinguish between various installations of Airflow or simply amend the page text.
Note
The custom title will be applied to both the page header and the page title.
To make this change, simply:
Add the configuration option of
instance_name
under the[webserver]
section insideairflow.cfg
:
[webserver]
instance_name = "DevEnv"
Alternatively, you can set a custom title using the environment variable:
AIRFLOW__WEBSERVER__INSTANCE_NAME = "DevEnv"
Screenshots¶
Before¶

After¶

Note
From version 2.3.0 you can include markup in instance_name
variable for further customization. To enable, set instance_name_has_markup
under the [webserver]
section inside airflow.cfg
to True
.