# YouTube Setup Guide

### Overview

StreamLink's YouTube integration provides:

* Real-time live chat display with \~5 second polling delay
* Owner, moderator, and member badge detection
* Automatic message polling during live streams

{% hint style="warning" %}
**Live Stream Required:** YouTube integration only works when you have an active live stream with chat enabled. You cannot connect to offline channels or scheduled streams.
{% endhint %}

### Prerequisites

Before starting, ensure you have:

* A YouTube channel with streaming enabled
* A Google account (same as your YouTube account)
* StreamLink 1.2.0+ installed on your Hytale server


---

# 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://kentatetsu.gitbook.io/streamlink/guides/youtube-setup-guide.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.
