# 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

***


---

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