> For the complete documentation index, see [llms.txt](https://docs.firefly.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.firefly.ai/detailed-guides/bulk-onboarding.md).

# Bulk Onboarding

API- and CLI-driven onboarding of cloud accounts into Firefly, without using the Firefly onboarding wizard. Intended for bulk onboarding, CI/CD pipelines, and organizations whose security teams require a reviewable, scriptable integration path.

## When to use this

The Firefly console wizard (**Settings > Integrations > Add New**) is the fastest way to connect a single account, subscription, or project. Use the headless flows below instead when you need to:

* Onboard many accounts at once — an AWS Organization, an Azure management group, a GCP folder tree
* Drive onboarding from a CI/CD pipeline rather than clicking through the console
* Give a security team a template or script they can review, diff, and approve before it runs, rather than a wizard they have to trust
* Re-run onboarding repeatably as new accounts are added to an org, tenant, or project hierarchy

Each guide below covers the provider CLI (`aws`, `az`, `gcloud`) and the Firefly API end to end: creating credentials, granting the minimum required permissions, registering the integration with Firefly, and verifying that data is flowing. Firefly also ships Terraform modules for each provider; those are documented separately under each provider's integration guide.

## Guides

* [**AWS**](/detailed-guides/bulk-onboarding/aws.md) — Onboard one or many AWS accounts using the `aws` CLI, CloudFormation, and the Firefly API. Includes the AWS Organizations / StackSet path for onboarding at scale.
* [**Azure**](/detailed-guides/bulk-onboarding/azure.md) — Onboard one or many Azure subscriptions using the `az` CLI and an ARM template that registers the integration with Firefly automatically. Includes management-group deployment and service principal credential rotation.
* [**Google Cloud**](/detailed-guides/bulk-onboarding/google-cloud.md) — Onboard one or many GCP projects using the `gcloud` CLI and the Firefly API. Includes organization-level folder discovery and the IAM org-policy checks to run before you start.

## Prerequisites common to all three

* Admin access to the Firefly console, to create an API key pair (**Settings > Users > Create Key Pair**)
* `curl` and `jq`
* The relevant provider CLI installed and authenticated (`aws`, `az`, or `gcloud`)
* Sufficient IAM/RBAC permissions in the target cloud to create the read-only role, service principal, or service account that Firefly will use

Provider-specific prerequisites are listed on each guide.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.firefly.ai/detailed-guides/bulk-onboarding.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
