> For the complete documentation index, see [llms.txt](https://guide.prismlive.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://guide.prismlive.com/desktop-beta/guides/streaming/rtmp-streaming/connecting-twitch-via-rtmp-presets.md).

# Connecting Twitch via RTMP Presets

Windows

**RTMP (Real-Time Messaging Protocol)** is a protocol used to transmit video, audio, and data from PRISM Live Studio to a streaming platform's servers. Both a Stream URL and a Stream Key are required to connect via RTMP.

PRISM Live Studio supports signing in with a Twitch account. If a login error prevents you from connecting your channel, you can use the Twitch RTMP preset to stream.

When you connect with the Twitch RTMP preset, you can also select the streaming server manually. The optimal server is normally selected automatically, but you can choose a server in another country if needed.

***

## Set Up PRISM Streaming and Open the Twitch RTMP Preset <a href="#id-ppc-guide-prismobsconnectingtwitchviartmppresets-setupprismstreamingandopenthetwitchrtmppreset" id="id-ppc-guide-prismobsconnectingtwitchviartmppresets-setupprismstreamingandopenthetwitchrtmppreset"></a>

1. In PRISM Live Studio, go to **Settings > Stream > Service**, select **PRISM Streaming**, and then click **Apply** or **OK**.

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2F9ThnJdnFTKXqFBCFGcnO%2F1setup%20prism%20streaming.png?alt=media&amp;token=0d61d10f-545c-4f82-9bc5-5cb6859e3978" alt=""><figcaption></figcaption></figure>

2. Click the **PRISM Streaming** icon in the right sidebar to open the **PRISM Streaming** dock.
   * If no channels are connected, select the **Custom** card at the bottom of the **Add Channel** screen.
   * If you already have connected channels, click **+** next to **My Channel**, and then select **Custom RTMP**.

{% columns %}
{% column width="41.66666666666667%" %}

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2FF0zOagkl06JunO3qoQQV%2F2primstreaming%20no%20channel.png?alt=media&amp;token=8efaae78-813f-48e5-af86-36d74ab89501" alt=""><figcaption></figcaption></figure>

{% endcolumn %}

{% column width="58.33333333333333%" %}

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2FpFt6ZNA640Rxv3zI4fLM%2F2prism%20streaming%20dock-add%20channel.png?alt=media&amp;token=71c63a92-9378-44b9-86dc-83ff17de04dd" alt=""><figcaption></figcaption></figure>

{% endcolumn %}
{% endcolumns %}

3. In the **Add Custom Channel** window, select **Twitch** from **URL**. When you select the Twitch RTMP preset, the Stream URL is entered automatically and **Server** is set to **Auto (Recommended)**. Keep this window open and follow the steps below to find your Twitch Stream Key.
   * We recommend using **Auto (Recommended)** in most cases. If needed, you can select a streaming server in another country from **Server**.

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2FS9u8MBmXLdVP5sgAbSH0%2F3select%20twich%20and%20input%20streamkey.png?alt=media&amp;token=729d9913-59a2-45bd-a4d3-e5662013c575" alt=""><figcaption></figcaption></figure>

## Find Your Twitch Stream Key <a href="#id-ppc-guide-prismobsconnectingtwitchviartmppresets-findyourtwitchstreamkey" id="id-ppc-guide-prismobsconnectingtwitchviartmppresets-findyourtwitchstreamkey"></a>

4. Go to the [Twitch website](https://www.twitch.tv/) and sign in to the account you want to stream with.
5. Click your profile image in the upper-right corner, and then select **Creator Dashboard**.

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2FV7NR2pfGLhnrbvUJrzkp%2F4creator%20dashboard.png?alt=media&amp;token=ecb377c3-20d5-4a60-9604-d70c8a8f95a4" alt=""><figcaption></figcaption></figure>

6. In the left sidebar of Creator Dashboard, expand **Settings** and select **Stream**. Under **Stream Key & Preferences**, click **Copy** next to **Primary Stream key**.

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2FlPtykfEHZlY8IzTLwREg%2F5settings-stream-get%20streamkey.png?alt=media&amp;token=520d3274-c30f-497c-8b96-ef099655635d" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Keep your Stream Key private. It is a unique code that links your stream to your channel. If you share it, someone else may be able to stream to your channel without permission. If you believe your key has been exposed, reset it immediately on Twitch.
{% endhint %}

## Save the Twitch Channel and Start Streaming <a href="#id-ppc-guide-prismobsconnectingtwitchviartmppresets-savethetwitchchannelandstartstreaming" id="id-ppc-guide-prismobsconnectingtwitchviartmppresets-savethetwitchchannelandstartstreaming"></a>

7. Return to PRISM Live Studio and paste the copied key into **Stream Key**. Change **Server** and **Stream Name** if needed, and then click **Save**.

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2FPkGT1jhA5nVc5zpfJ9CK%2F6input%20streamkey.png?alt=media&amp;token=56e4701e-f96c-46ae-b409-823f745537e9" alt=""><figcaption></figcaption></figure>

8. After the Twitch RTMP channel is added to **My Channel**, make sure its switch is turned on. When you are ready, click **Start Streaming** to begin streaming to Twitch.

<figure><img src="https://1019928184-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlISC5rfB4Hnmbsjf8phq%2Fuploads%2F0UvqlTReVVX0da4iyt9j%2F7rtmp%20settings%20done.png?alt=media&amp;token=65b40e7f-5761-4999-9f1c-43963c5bb55a" alt=""><figcaption></figcaption></figure>

[DESKTOP Beta](https://guide.prismlive.com/desktop-beta/overview.md), [Guides](https://guide.prismlive.com/desktop-beta/guides.md), [PRISM Streaming](https://guide.prismlive.com/desktop-beta/guides/streaming/prism-streaming.md), [RTMP Streaming](https://guide.prismlive.com/desktop-beta/guides/streaming/rtmp-streaming.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://guide.prismlive.com/desktop-beta/guides/streaming/rtmp-streaming/connecting-twitch-via-rtmp-presets.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
