All connectors

Storage

Amazon S3

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.

ContentWhat is kept
ObjectsEvery supported file under the prefix, including subdirectories
Modification dateKept 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.

1

Create the credentials

An IAM user allowed `s3:ListBucket` and `s3:GetObject` on the prefix. Read-only is enough: the connector never writes.

2

Enter the bucket

Integrations → Add source → S3: bucket name, region, and the credentials as `KEY:SECRET`.

3

Set the prefix

Optional, but recommended: without it the whole bucket is indexed, backups included.

4

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.

Where the credential goes
The credentials go in the **Token** field, in the form `ACCESS_KEY_ID:SECRET_ACCESS_KEY`. The form has a single field for the pair, and it is refused when the colon is missing.

Configuration options

FieldDescriptionRequired
BucketName of the bucketYes
RegionRegion of the bucket. Defaults to `us-east-1`No
PrefixPath prefix limiting what is indexedNo
EndpointCustom endpoint for an S3-compatible providerNo
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

Access denied

The credentials lack `s3:ListBucket`, or they are scoped to another prefix. A wrong region answers with a redirect rather than an error.

Nothing indexed

The objects sit outside the prefix, or their extension is not one of the supported ones.

Credentials refused

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.