> 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/social-media/feed-create-youtube.md).

# Create YouTube Channel Feed

## User Intent

"How do I sync YouTube videos and transcripts? Show me YouTube feed configuration."

## Operation

**SDK Method**: `createFeed()` with FeedTypes.YouTube\
**Auth**: API key

***

## Code Example (TypeScript)

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

const graphlit = new Graphlit();

const feed = await graphlit.createFeed({
  name: 'Tech Channel',
  type: FeedTypes.YouTube,
  youtube: {
    type: YouTubeTypes.Channel,
    channelIdentifier: 'UC_x5XG1OV2P6uZZ5FSM9Ttw',
    readLimit: 50,
  },
  // Optional: add workflow for content processing
  // workflow: { id: workflow.createWorkflow.id }
});
```

***

## Configuration

**channelId**: YouTube channel ID\
**includeTranscripts**: Sync video transcripts\
**readLimit**: Number of videos

***
