> For the complete documentation index, see [llms.txt](https://docs.graphlit.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.graphlit.dev/api-guides/use-cases/feeds/cloud-storage/feed-create-aws-s3.md).

# 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

***
