> ## Documentation Index
> Fetch the complete documentation index at: https://sitegpt.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# YouTube

> Train your chatbot on video transcripts from YouTube.

Train your chatbot on YouTube videos: product walkthroughs, webinars, and
tutorials. SiteGPT learns from the video's captions.

<Note>
  YouTube videos are added under **Website Links**, not Files & Data Sources:
  open **Website Links** → **Add YouTube Videos**.
</Note>

## Add videos

<Steps>
  <Step title="Open the form">
    In your chatbot's sidebar, open **Website Links** →
    **Add YouTube Videos**.
  </Step>

  <Step title="Paste YouTube URLs">
    Add one URL per line in the **YouTube URLs** field. Standard video URLs
    work (`youtube.com/watch?v=...` and `youtu.be/...`).
  </Step>

  <Step title="Start the import">
    Each video appears in **Links List** with a live training status, like
    any other link.
  </Step>
</Steps>

## Requirements and behavior

* Videos must be **public or unlisted**. Private videos cannot be read.
* Videos must have **captions** (automatic or uploaded). The transcript is
  what the chatbot learns; audio and visuals are not analyzed.
* No YouTube account connection or API key is needed.

<AccordionGroup>
  <Accordion title="A video failed to train">
    The most common cause is missing captions. Open the video on YouTube and
    check that captions can be turned on. If the video is private, make it
    unlisted or public first.
  </Accordion>

  <Accordion title="The chatbot misquotes a video">
    Automatic captions can contain recognition errors, and those errors flow
    into training. For important content, upload corrected captions to
    YouTube and resync the video.
  </Accordion>
</AccordionGroup>
