> ## 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 repositories, cloud platforms, and feeds Switch Trust gets your agents from

A data source is a place Switch Trust gets [agents](https://docs.switchagents.ai/switch-trust/resources/glossary.md#agent) 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](https://docs.switchagents.ai/switch-trust/resources/glossary.md#mcp-server) it finds into your [inventory](https://docs.switchagents.ai/switch-trust/resources/glossary.md#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](https://docs.switchagents.ai/switch-trust/resources/glossary.md#session), [turns](https://docs.switchagents.ai/switch-trust/resources/glossary.md#turn), and cost over
  [OpenTelemetry](https://docs.switchagents.ai/switch-trust/admin/data-sources/opentelemetry.md), with no [SDK](https://docs.switchagents.ai/switch-trust/resources/glossary.md#sdk) to install.
* The **[Claude Code plugin](https://docs.switchagents.ai/switch-trust/admin/data-sources/claude-code.md)**, which reports each
  person's Claude Code sessions and cost.
* **[Switch Rooms](https://docs.switchagents.ai/switch-trust/admin/data-sources/switch-rooms.md)**, where Switch Trust checks
  room messages against a [guardrail policy](https://docs.switchagents.ai/switch-trust/resources/glossary.md#guardrail-policy).

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, the Claude Code plugin, and Switch Rooms have no scans to list, so their cards
show no status and they have setup steps only. To open them, you need the **Editor** role or
higher.

> [!NOTE]
>
> To confirm that scans are actually arriving, open the source and check its **Scans** tab.
> **Connected** on the card 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.

## 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

> [card] [Claude Code plugin](https://docs.switchagents.ai/switch-trust/admin/data-sources/claude-code.md)
>
> Report each person's Claude Code sessions and cost with the Switch Trust plugin

> [card] [Switch Rooms](https://docs.switchagents.ai/switch-trust/admin/data-sources/switch-rooms.md)
>
> Check Switch Rooms messages against a guardrail policy
