Storage
Amazon S3 Connector
Index a bucket or any S3-compatible storage: useful when the content is already published somewhere else.
Prerequisites
- A bucket, on AWS or on any S3-compatible provider
- Credentials allowed to list and read the objects
- Files in a supported format
Data ingested
When you connect Amazon S3, the following content becomes searchable. Every answer that uses it cites it.
| Content | What is kept |
|---|---|
| Objects | Every supported file under the prefix, including subdirectories |
| Modification date | Kept so an unchanged object is skipped at the next sync |
Setup
Configuration happens in the dashboard, under Integrations. No API call is needed for a normal setup.
Create the credentials
An IAM user allowed `s3:ListBucket` and `s3:GetObject` on the prefix. Read-only is enough: the connector never writes.
Enter the bucket
Integrations → Add source → S3: bucket name, region, and the credentials as `KEY:SECRET`.
Set the prefix
Optional, but recommended: without it the whole bucket is indexed, backups included.
Set the endpoint for a non-AWS provider
Cloudflare R2, Backblaze B2, MinIO and the others need their endpoint URL. Leave it empty for AWS.
Configuration options
| Field | Description | Required |
|---|---|---|
| Bucket | Name of the bucket | Yes |
| Region | Region of the bucket. Defaults to `us-east-1` | No |
| Prefix | Path prefix limiting what is indexed | No |
| Endpoint | Custom endpoint for an S3-compatible provider | No |
| Credentials | `ACCESS_KEY_ID:SECRET_ACCESS_KEY` | Yes |
Best practices
- •Always set a prefix. A bucket root usually holds builds, dumps and backups next to the documentation.
- •Supported formats are Markdown, text, Word and PDF. Anything else is ignored without an error.
Troubleshooting
The credentials lack `s3:ListBucket`, or they are scoped to another prefix. A wrong region answers with a redirect rather than an error.
The objects sit outside the prefix, or their extension is not one of the supported ones.
The field expects `KEY:SECRET`. A JSON object, or a secret pasted alone, is rejected before any request is sent.
Next steps
Once the source is connected and indexed, ask a question from the chat and check that the answer cites this source. A source that never appears in a citation is usually a source with nothing indexed: see Troubleshooting above.
