# Airflow

## Supported Capabilities

{% tabs %}
{% tab title="Supported Capabilities" %}
**General**

* **Metadata** — metadata extraction and display of asset information (tables, columns, schemas). Types collected: Data Job, Data Run, Data Task

**Data Quality Monitors**

* Job Failure
  {% endtab %}

{% tab title="Not Supported" %}
**General**

* Profiling
* Preview
* Data Quality
* Configurable Collection
* External Table
* View Table
* Stored Procedure

**Data Quality Monitors**

* Freshness
* Volume
* Field Health
* Custom SQL
* Schema Drift
  {% endtab %}
  {% endtabs %}

## Connection Requirements

* Airflow Username
* Airflow User Password
* Airflow API host address
* Airflow API enabled and set to Basic Auth. See [Airflow Documentation](https://airflow.apache.org/docs/apache-airflow/stable/administration-and-deployment/security/api.html#basic-authentication) for this.
* Airflow Version 2.3.0 and above (Version >= 2.0.0 and < 2.3.0 may not work fully)

<figure><img src="/files/yqzfv7rI92edPfYyJSH5" alt=""><figcaption><p>Airflow</p></figcaption></figure>

## Creating an Airflow User for Decube

1. Go to Security > List Users

<figure><img src="/files/tosNnLk3fsFv8Uc9Nphp" alt=""><figcaption></figcaption></figure>

2. Click on `"+"` to Add User

<figure><img src="/files/Yro1CT33nSa7HtS23meJ" alt=""><figcaption></figcaption></figure>

3. Insert information for new decube user
   1. Username - suggested value: `decube`
   2. Email - <collectors@decube.io>
   3. Role - Minimum required `Op` (which is a default role from Airflow)
   4. Password - Use a strong password

<figure><img src="/files/tRo1FDRwUXGdvPpaUmu4" alt=""><figcaption></figcaption></figure>

## Airflow API is not Publicly Accessible

* For decube to monitor your Airflow service, we will require that the Airflow API be publicly accessible or privately accessible to a SSH bastion host. Instruction on setting up a bastion host can be found here [SSH Tunneling](/security-and-connectivity/ssh-tunneling.md)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.decube.io/transformation-tools/airflow.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
