

# Connecting data sources

This chapter describes how to connect your data sources to AWS Context. You create a `Connection` to a source once, then bind it into one or more Agent Contexts through `connectionMappings` to control what AWS Context ingests and how. A `Connection` is a top-level resource: the same connection can be reused across Agent Contexts, and a single Agent Context can bind up to 20 connections.

 AWS Context handles a source according to whether its data is structured or unstructured:
+  *Structured sources*, such as data catalogs, are ingested directly as database, table, and column nodes. This is deterministic schema ingestion, and no extraction is required.
+  *Unstructured sources*, such as knowledge bases and uploaded documents, go through ontology-guided extraction: AWS Context analyzes their text to extract entities and relationships before they become part of the Agent Context.

Access to source data is identity-aware. Where a source enforces its own permissions, such as AWS Lake Formation fine-grained access control, AWS Context respects those permissions so that an agent receives only the context the requesting identity is authorized to see.

**Topics**
+ [Structured and unstructured paths](how-it-works-paths.md)
+ [AWS native structured sources](aws-native-structured-sources.md)
+ [Unstructured sources](unstructured-sources.md)
+ [Business context from AWS Glue Data Catalog](gdc-sources.md)
+ [Third-party catalogs](third-party-catalogs.md)
+ [Cross-account access](cross-account-access.md)
+ [Filters and scoping a connection](filters-and-scoping.md)
+ [Sync, refresh, and troubleshooting](sync-refresh-troubleshooting.md)