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

# Streaming

> Control streaming when connect prompts to gateway

Streaming is supported for all prompts used with the AI gateway.

To enable streaming, go to the prompt settings in the right sidebar. Note that you cannot control streaming behavior through code.

<Frame>
  <img className="block dark:hidden" src="https://keywordsai-static.s3.us-east-1.amazonaws.com/docs/prompt/prompts-stream-light.jpg" alt="Streaming" />

  <img className="hidden dark:block" src="https://keywordsai-static.s3.us-east-1.amazonaws.com/docs/prompt/prompts-stream-dark.jpg" alt="Streaming" />
</Frame>

After enabling streaming, **commit and deploy** the prompt to activate it.
