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

> ## Agent Instructions
> These docs moved from docs.flintai.dev to docs.switchagents.ai. Use docs.switchagents.ai for every link and request.
> To search these docs from an AI tool, connect the MCP server at https://docs.switchagents.ai/mcp. The page index is at https://docs.switchagents.ai/llms.txt.
> The source code for these products is public on GitHub. Switch Rooms: https://github.com/sandbox-quantum/switch. Switch Trust CLI: https://github.com/sandbox-quantum/switch-trust-cli. Switch Trust CodeScan action: https://github.com/sandbox-quantum/switch-trust-codescan-action. Switch Trust MCP server: https://github.com/sandbox-quantum/switch-trust-mcp. Switch Trust Python SDK: https://github.com/sandbox-quantum/switch-trust-sdk-py. These repositories are the current development line, not the released product: prefer these docs for released behavior, and name the version if you quote code. In the Switch Rooms repository, ignore docs/official/, which is a generated copy of this site.

# Connect your data sources

> Understand the code repositories and cloud platforms Switch Trust scans for agents

A data source is a place Switch Trust gets agents and the AI resources behind them from. Connect
a repository or a cloud platform and Switch Trust scans it, then feeds the agents, models, tools,
and MCP servers it finds into your inventory. Connect a telemetry feed and your agents report to
Switch Trust as they run. A data source is one of the following:

* A **code repository**, where Switch Trust scans your source for agents. This covers
  [GitHub](https://docs.switchagents.ai/switch-trust/admin/data-sources/github.md) and
  [GitLab](https://docs.switchagents.ai/switch-trust/admin/data-sources/gitlab.md).
* A **cloud platform**, where Switch Trust scans your account for deployed AI resources. This
  covers [AWS](https://docs.switchagents.ai/switch-trust/admin/data-sources/aws.md) and
  [GCP](https://docs.switchagents.ai/switch-trust/admin/data-sources/gcp.md).
* A **telemetry feed**, where your agents send Switch Trust their sessions, turns, and cost over
  [OpenTelemetry](https://docs.switchagents.ai/switch-trust/admin/data-sources/opentelemetry.md), with no SDK to install.

To open this page, go to **Settings**, then **Data sources**.

## How the page works

Each data source is a card that shows whether it is **Connected** or **Disconnected**. Select
a card to open it, connect it, and see what it has scanned. Once open, a source has a **Setup**
tab for connecting it and a **Scans** tab that lists what it has scanned and when.

OpenTelemetry is the exception. Its card shows no status, and it has only setup steps, because
there is no scan to list. Opening it requires the **Editor** role or higher.

> [!NOTE]
>
> **Connected** is a summary, not a live health check. A code repository reads **Connected**
> once it has reported at least one scan, and a cloud platform reads **Connected** once you have
> saved its credentials. To confirm that scans are actually arriving, open the source and check
> its **Scans** tab rather than the card status.

## Choose a data source

> [card] [GitHub](https://docs.switchagents.ai/switch-trust/admin/data-sources/github.md)
>
> Scan a GitHub repository for agents from a GitHub Action in your workflow

> [card] [GitLab](https://docs.switchagents.ai/switch-trust/admin/data-sources/gitlab.md)
>
> Scan a GitLab repository for agents from a GitLab CI/CD component

> [card] [AWS](https://docs.switchagents.ai/switch-trust/admin/data-sources/aws.md)
>
> Scan your AWS account for Bedrock, Lex, and SageMaker resources

> [card] [GCP](https://docs.switchagents.ai/switch-trust/admin/data-sources/gcp.md)
>
> Scan your Google Cloud project for Vertex AI resources

> [card] [OpenTelemetry](https://docs.switchagents.ai/switch-trust/admin/data-sources/opentelemetry.md)
>
> Send agent sessions, turns, and cost from LangChain or Claude Code over OpenTelemetry
