Configure Apache Airflow

Teradata Developer Guides

ft:locale
en-US
ft:lastEdition
2026-08-18
  1. Switch to virtual environment where Apache Airflow was installed at Install Apache Airflow and Astronomer Cosmos
    source airflow_env/bin/activate
    
  2. Configure the listed environment variables to activate the test connection button, preventing the loading of sample DAGs and default connections in Airflow UI.
    export AIRFLOW__CORE__TEST_CONNECTION=Enabled
    export AIRFLOW__CORE__LOAD_EXAMPLES=false
    export AIRFLOW__CORE_LOAD_DEFAULT_CONNECTIONS=false
    
  3. Define the path of jaffle_shop project as an environment variable dbt_project_home_dir.
    export dbt_project_home_dir=$AIRFLOW_HOME/dags/dbt/jaffle_shop
    
  4. Define the path to the virtual environment where dbt-teradata was installed as an environment variable dbt_venv_dir.
    export dbt_venv_dir=/../../dbt_env/bin/dbt
    
    !!! note You might need to change /../../ to the specific path where the dbt_env virtual environment is located.