# Create AWS S3 Feed

## User Intent

"How do I sync files from AWS S3 bucket? Show me S3 feed configuration."

## Operation

**SDK Method**: `createFeed()` with FeedTypes.Site\
**Feed Service**: AWS S3\
**Auth**: AWS credentials

***

## Code Example (TypeScript)

```typescript
import { Graphlit } from 'graphlit-client';
import { FeedTypes, FeedServiceTypes } from 'graphlit-client/dist/generated/graphql-types';

const graphlit = new Graphlit();

const feed = await graphlit.createFeed({
  name: 'S3 Documents',
  type: FeedTypes.Site,
  site: {
    type: FeedServiceTypes.S3Blob,
    bucketName: 'my-documents-bucket',
    prefix: 'documents/',
    region: 'us-west-2',
    accessKey: process.env.AWS_ACCESS_KEY!,
    secretKey: process.env.AWS_SECRET_KEY!,
  },
  // Optional: add workflow for content processing
  // workflow: { id: workflow.createWorkflow.id }
});

console.log(`Created S3 feed: ${feed.createFeed.id}`);
```

***

## Configuration

**bucketName**: S3 bucket name\
**prefix**: Folder path in bucket\
**region**: AWS region\
**accessKey/secretKey**: AWS credentials

***


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.graphlit.dev/api-guides/use-cases/feeds/cloud-storage/feed-create-aws-s3.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
