# l4 integrations

> List the cloud providers connected to your LevelFour organization.

Source: https://docs.levelfour.ai/cli/commands/integrations


`l4 integrations` shows which cloud providers (AWS, GCP, Azure, Kubernetes) are connected to your organization. [Providers](/resources/providers) has the `provider_id` each one goes by.

Global flags (`--json`, `--jq`, `--template`, `--quiet`, `--token`, `--api`) apply. See [CLI overview](/cli#global-flags). Exit codes follow the [standard CLI exit conventions](/cli#exit-codes).

## list

```bash
l4 integrations list
```

Returns one row per connected provider, its `provider_id` under **ID** and its `provider_name` under **Name**:

```text
╭───┬────╮
│ID │Name│
├───┼────┤
│aws│AWS │
│gcp│GCP │
╰───┴────╯
```

> **Success**
>
> A provider listed here is connected, and its **ID** is the value `--provider` takes on [`l4 costs`](/cli/commands/costs) and [`l4 recommendations`](/cli/commands/recommendations).

A provider you expect and do not see has not been [connected](/quickstart) yet.

`--json` returns the same rows in a JSON envelope:

```bash
l4 integrations list --json
```

```json
{
  "success": true,
  "data": [
    { "provider_id": "aws", "provider_name": "AWS" },
    { "provider_id": "gcp", "provider_name": "GCP" }
  ],
  "timestamp": "2026-04-27T11:00:00Z"
}
```

## Examples

Read the `provider_id` values on their own, for scripting:

```bash
l4 integrations list --jq '.data[] | .provider_id'
```

Fail a pipeline when a provider is not connected:

```bash
l4 integrations list --jq '.data[] | select(.provider_id == "aws")' --quiet \
  || { echo "AWS integration missing"; exit 1; }
```

## Related

* [`l4 costs`](/cli/commands/costs): where a `provider_id` becomes `--provider`
* [`l4 recommendations`](/cli/commands/recommendations): the other command scoped by provider
* [Providers](/resources/providers): the same list over the REST API and the SDKs
* [Quickstart](/quickstart): how a provider gets connected in the first place
* [Output formats](/cli/output-formats): what `--json`, `--jq` and `--quiet` each emit
