Connecting Knowledge Bases to Enterprise Data Sources
This lesson describes the built-in knowledge base connectors and the patterns for sources without one, since a knowledge base is only as complete as its connections.
Learning outcomes
After completing this lesson, you will be able to:
- Identify the built-in data source connectors.
- Decide when Amazon Kendra or Amazon Q Business fits.
- Ingest sources without a connector through S3 and AppFlow.
Built-in data source connectors
Enterprise knowledge rarely lives in one place, so Bedrock Knowledge Bases offer built-in connectors that read content directly from common sources: Amazon S3; a web crawler, configured with seed URLs, a scope, inclusion and exclusion patterns and a crawl rate; Atlassian Confluence; Microsoft SharePoint; and Salesforce. Using a connector avoids writing and maintaining export jobs for each system.
Connectors authenticate with credentials stored in AWS Secrets Manager, so no secrets appear in the knowledge base configuration. They map source fields, such as author and last modified date, to metadata; support inclusion and exclusion filters, for example to skip archived spaces; and sync incrementally, processing only changed content. For sources without a connector, a custom data source accepts documents pushed directly through the ingestion API, which suits content that an application already reads or generates.
Connecting a source
Amazon Kendra and Amazon Q Business
Amazon Kendra is an intelligent enterprise search service with many connectors to enterprise systems and built-in document-level access control. A Kendra GenAI index can serve as the retriever for a Bedrock knowledge base, reusing Kendra's connectors and ranking. Amazon Q Business is a managed generative AI assistant for employees that connects to enterprise data sources, respects their permissions and needs no application code; Amazon Q Business Apps let users build lightweight apps from conversations. These suit scenarios that want an assistant rather than a custom application. Amazon Q Business stopped accepting new customers on 31 July 2026; existing customers keep using it, and AWS recommends Amazon Quick for new deployments.
Sources without a connector
For other systems, data is moved to S3 and ingested. Amazon AppFlow transfers data from SaaS applications such as Salesforce, ServiceNow or Zendesk to S3 on a schedule or event, with field mapping and filtering. AWS Lambda functions or AWS Glue jobs call a document management system's API, convert content to text, and write documents with .metadata.json files. AWS DataSync and AWS Transfer Family move files from on-premises shares and SFTP feeds. Source permissions should be captured as metadata (allowed groups) so retrieval can filter by the requesting user.
The following table summarises the integration options.
| Source | Integration |
|---|---|
| Files in S3 | S3 data source |
| Public or intranet websites | Web crawler data source |
| Confluence, SharePoint, Salesforce | Built-in connectors with Secrets Manager credentials |
| Many enterprise systems with ACLs | Amazon Kendra GenAI index as retriever |
| SaaS applications without a connector | Amazon AppFlow to S3 |
| Internal APIs and document systems | Lambda or Glue to S3, or custom data source ingestion |
| On-premises file shares | DataSync or Transfer Family to S3 |
The following diagram shows a wiki and a ticketing system feeding one knowledge base.

Getting data into S3
Wiki plus ticketing system
An IT assistant must answer from a Confluence wiki and from resolved tickets in a SaaS ticketing tool that has no knowledge base connector. Users must only see articles from spaces they can access.
The wiki uses the Confluence connector, which maps space and permission information to metadata. Resolved tickets are exported with Amazon AppFlow to S3 nightly and ingested by an S3 data source. Retrieval applies a metadata filter on the user's groups.
A SaaS application has no knowledge base connector. How can its data be ingested?
Show answer
Use Amazon AppFlow to export it to S3, and use the S3 bucket as the data source.
Exam Tips
Remember for the exam
- Built-in connectors: S3, web crawler, Confluence, SharePoint, Salesforce; custom data source for pushes.
- SaaS without a connector: AppFlow to S3. On-premises files: DataSync or Transfer Family.
- Many enterprise connectors with ACLs: Kendra GenAI index.
- Capture source permissions as metadata for filtered retrieval.