> ## Documentation Index
> Fetch the complete documentation index at: https://astronomer.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# astro dev object import

<Info>The behavior and format of this command are the same for both Astro and Astro Private Cloud.</Info>

Import Airflow variables, connections, and pools from a configuration file to a locally running Airflow environment.

## Usage

After starting your local Airflow environment with `astro dev start`, run:

```sh wrap theme={null}
astro dev object import
```

By default, the command imports all variables, connections, and pools from `airflow_settings.yaml` to your project. You do not need to restart your environment for these changes to take effect.

## Options

| Option                 | Description                                                                                                     | Possible Values    |
| ---------------------- | --------------------------------------------------------------------------------------------------------------- | ------------------ |
| `-c`,`--connections`   | Import connections from a given local file                                                                      | \`\`               |
| `-p`,`--pools`         | Import pools from a given local file                                                                            | \`\`               |
| `-s`,`--settings-file` | Location of the file from which to import Airflow objects. The default file path is `~/.airflow_settings.yaml`. | Any valid filepath |
| `-v`,`--variables`     | Import variables from a given local file                                                                        | \`\`               |

## Examples

```sh wrap theme={null}
astro dev object import --pools
# Imports pools from `airflow_settings.yaml` to a locally running Airflow environment

astro dev object import --settings-file="myairflowobjects.yaml"
# Imports all Airflow objects from `myairflowobjects.yaml` to a locally running Airflow environment
```

## Related commands

* [`astro dev object export`](/docs/cli/v1.43/astro-dev-object-export)
* [`astro deployment variable create`](/docs/cli/v1.43/astro-deployment-variable-create)
* [`astro deployment variable update`](/docs/cli/v1.43/astro-deployment-variable-update)
