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

# Connect your data sources

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

A data source is a place Switch Trust looks for agents and the AI resources behind them. Connect
one and Switch Trust scans it, then feeds the agents, models, tools, and MCP servers it finds into
your inventory. A data source is one of the following:

* A **code repository**, where Switch Trust scans your source for agents. This covers
  [GitHub](/switch-trust/admin/data-sources/github) and
  [GitLab](/switch-trust/admin/data-sources/gitlab).
* A **cloud platform**, where Switch Trust scans your account for deployed AI resources. This
  covers [AWS](/switch-trust/admin/data-sources/aws) and
  [GCP](/switch-trust/admin/data-sources/gcp).

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.

<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.
</Note>

## Choose a data source

<CardGroup cols={2}>
  <Card title="GitHub" icon="github" href="/switch-trust/admin/data-sources/github">
    Scan a GitHub repository for agents from a GitHub Action in your workflow
  </Card>

  <Card title="GitLab" icon="gitlab" href="/switch-trust/admin/data-sources/gitlab">
    Scan a GitLab repository for agents from a GitLab CI/CD component
  </Card>

  <Card title="AWS" icon="aws" href="/switch-trust/admin/data-sources/aws">
    Scan your AWS account for Bedrock, Lex, and SageMaker resources
  </Card>

  <Card title="GCP" icon="google" href="/switch-trust/admin/data-sources/gcp">
    Scan your Google Cloud project for Vertex AI resources
  </Card>
</CardGroup>
