Contents

Getting Started with Extensions

Introduction

Welcome to developing Extensions!

This guide shows you how to onboard to be a Extensions developer and run your first Hello World extension within the Twitch Developer Rig.

If you have an issue, need more information, or have a question about anything in this guide, please visit the Extensions category of the Twitch Developer Forums.

What Are Extensions?

Extensions are interactive web apps that run on a broadcaster’s channel, either overlaying the video or below it in panels. Extension developers can build experiences ranging from broadcaster/community tools, to data driven overlays, to interactive apps that let the audience play in the game. These experiences bring viewers and broadcasters together, creating new ways to interact on Twitch.

Extensions installed and activated by a broadcaster are automatically visible to any viewer who goes to the broadcaster’s channel page using a desktop Web browser. Viewers can see details about the extension and report an extension for bad behavior.

Broadcasters can browse and install extensions on their Dashboard’s Extensions tab. They can find extensions, add/remove them on their channels, and activate/deactivate them. Installing an extension on a channel does not make it active on the channel page. To do that, after broadcasters install an extension, they configure it (if required by the developer), then activate it to make it visible to all viewers.

To learn more about Extensions, visit:

Hello World

To get your first extension running locally on your machine, you’ll use the Twitch Developer Rig. The Developer Rig is an open-source tool, maintained by Twitch, which enables you to easily get started developing Extensions. As an extension developer, you can use the Rig to:

Using the Developer Rig

To begin using the Rig, clone the GitHub repository here. The README.md file in the root directory contains instructions to:

Onboarding

When you are ready to test your extension on Twitch, against production endpoints, you need to complete the Extensions developer onboarding process. This will allow you to create an Extension online on Twitch and host your assets on Twitch’s CDN.

Extensions allow you to run your code on the Twitch website, in end user’s browsers, so it’s important that we verify our developer’s identities to help guarantee safe experiences and maintain end-user trust. During onboarding, we require your tax and financial information, so we can validate your identity.

Fill out the onboarding form carefully. To change information later, you must redo the entire form.

Note: If you are already a Twitch partner or affiliate, you do not need to fill out the form. See below.

Procedure for Non-Twitch Partners/Affiliates

To begin the onboarding process:

  1. Log into the developer site, https://dev.twitch.tv.
  2. In the top row, click the Dashboard tab.
  3. In the Extensions box, click the GET STARTED button, to let Twitch know you are ready to onboard.
  4. Go to the onboarding process, by doing one of the following:

Complete all four sections of the form:

  1. Register as a developer.

    Complete the fields with information about the legal entity that owns the extension. This information must exactly match your tax information and financial information, so make sure it is correct.

    Each legal entity can have only one Extensions developer account. If you have multiple individuals under one legal entity, please do not complete the onboarding multiple times; instead, have all your users utilize your one onboarded Twitch account.

  2. Agree to the Twitch Extensions Developer Agreement.

    If you are under 18, this section asks your parent or legal guardian to agree to the agreement on your behalf. Your parent or legal guardian must enter his/her full legal name, check the box, and click Agree.

    For help interpreting the contract, please contact your attorney. (Twitch is not equipped to help with this.)

  3. Complete two tax interviews, for royalty tax and service tax. The two forms are very similar but used for different purposes. Both need to be filled out accurately.

    Since Twitch is a subsidiary of Amazon, we use some Amazon tools to help Extensions developers get registered, including the tax-information forms. For definitions of individual fields, see the Amazon Tax Information Interview Guide.

    For help with this section, please contact your tax professional. (Twitch is not equipped to help with this.)

  4. Provide financial information, to finish the process of validating your identity. Also, providing this information enables you to participate in monetization features that may become available. In this section of the form, you select how you want to be paid.

    On the Payment Method screen, we recommend you select Hold My Payments. You can modify this selection later if desired.

    In this step, we request some personal financial information so we can validate your identity, as mentioned above.

    This section may ask you for additional information. If you get this prompt, please submit a scanned copy of your government ID, such as a passport.

  5. When you finish providing all requested financial information, the approval process will begin. It can take up to 48 hours. If you are approved, you will get a notification email. If you are not approved, information is provided in Extensions Developer Onboarding; return there if you do not get the approval email within 48 hours.

Procedure for Twitch Partners and Affiliates

Follow these steps:

  1. Log into the developer site, https://dev.twitch.tv.
  2. In the top row, click the Dashboard tab.
  3. In the Extensions box, click the GET STARTED button.
    You will receive an email enrollment confirmation very soon (within a minute).
  4. After the email arrives, reload the dashboard. The GET STARTED button is replaced with VIEW EXTENSIONS. You can start developing now!

Changing Information After Onboarding

To change your payment method, select Change Payment Method.

To change other information, on the Extensions Developer Onboarding main menu, click Start Over. This clears any information you have in our system, so you must complete the entire onboarding process again.

Create Your Extension

When you create your extension on Twitch, you’ll need to fill out the following information. The most consequential information is the name, type, and author email; if needed, it’s okay to fill in dummy info in the other sections for now. You can update information later, before you submit your extension for review.

  1. Log in to the Twitch developer site with your Twitch ID.

  2. Navigate to the Extensions dashboard, then click Create Extension.

  3. Complete each field in the Create an Extension form:
    • Name — The name of your extension. This cannot be changed later, so double-check the spelling.
    • Type of Extension — The type(s) of your extension (e.g., Panel, Video Overlay, Video Component).
    • Summary — This will be viewable by broadcasters on the extensions listings page in the Extension Manager. It should be 1-2 brief sentences describing what your extension does. To provide more detail, use the Description field.
    • Description — More detail than the Summary about the functions of your extension.
    • Author name — The full name of the extension author or organization that will receive credit on the Extension Manager. This can be changed later.
    • Author email — Contact information for the extension creator. This is used to contact the developer with information about the extension’s lifecycle (e.g., reject/accept notifications). Twitch will never reveal this email to anyone on the site.
    • Support email — Public contact information for support-related queries from broadcasters.
  4. (Optional) Add a logo for your extension. This must be 100px x 100px. Do not use Twitch or Glitch logos. If you do not have a logo, a default logo will be assigned.

  5. Click Create Extension to create your extension manifest, containing metadata about your extension. Your extension is now in the Local Test stage of the extension life cycle. You will get a verification email soon after creation.

Congratulations, you’re well on your way to creating an extension! Be sure to check your email, as you will need to verify ownership of the provided author email address.

To change information later, click the Settings tab after your extension is created. These fields are not version specific: they apply to all versions of the extension.

What’s Next

You’re well on your way to building and launching an extension on Twitch.

Before you start developing your own extensions, read Required Technical Background for Extensions.

Next, consult other Extensions documentation for complete information on how to:

Code samples are available on GitHub.

Good luck!