# interactive

The step-level `interactive` field attaches your terminal's stdin to a `type: shell` step, so the command can read input from you while it runs.

```yaml
steps:
  - name: psql
    type: shell
    command: psql "$DATABASE_URL"
    interactive: true
    tty: true
```

While an interactive step runs, Atmos lets the child process handle Ctrl-C. Combine `interactive: true` with [`tty: true`](/workflows/steps/tty) for full terminal sessions.
