GitHub user saidiraja closed the discussion with a comment: Simplify QuickStart 
for Airflow 3 standalone mode

Hi, I recently went through the same setup process with Airflow 3.x and had 
similar confusion, especially regarding authentication and initialization.

A few clarifications that might help:

1. **Username and Password**
   In Airflow 3.x, credentials are no longer "admin/admin".
   When you run:

```bash
airflow standalone
```

Airflow automatically generates the admin password and stores it in:

```
${AIRFLOW_HOME}/simple_auth_manager_passwords.json.generated
```

You can retrieve it using:

```bash
cat ~/airflow/simple_auth_manager_passwords.json.generated
```

2. **Database initialization**
   The command:

```bash
airflow db migrate
```

should be run **before starting Airflow**, but it is also automatically handled 
when using `airflow standalone`, so you usually don’t need to run it manually.

3. **DAG detection**
   Yes, Airflow scans for new DAGs periodically (by default every ~5 minutes), 
so newly added DAGs may not appear immediately.

4. **General feedback**
   I agree that the current documentation focuses more on concepts rather than 
a clear step-by-step beginner setup. A simplified quick-start guide could 
really improve the onboarding experience.

Thanks for sharing your notes — they are very helpful for beginners!


GitHub link: 
https://github.com/apache/airflow/discussions/65074#discussioncomment-16573422

----
This is an automatically sent email for [email protected].
To unsubscribe, please send an email to: [email protected]

Reply via email to