Quick Start for Developers

These guides will help you get started with Muxy. You'll be up and running in a jiffy!

Here in our Quick Start guides you'll find examples to help you understand the basics of working with our tools to create fully interactive, engaging Twitch Extensions.

Add Muxy functionality to your Twitch Extension

Whether you are a game developer, an extension writer, or a streamer, you can use Muxy-enabled extensions to improve the gaming and viewing experience, promote viewer engagement with interaction and rewards, and monetize your audience.

  • If you have an existing Twitch Extension, you can use these steps to register it with Muxy to add functionality and use Muxy services.

  • If you don't already have one, create a new Twitch Extension in the Twitch Developer Console.

Register your extension with Muxy

  1. In the Twitch Developer Console, look at the Extension Settings and copy the Extension Client ID and Extension Secret. You will use these to register the extension with Muxy.

  2. Go to the Muxy Developer Portal and click Register New Extension.

  3. Fill in the Extension Name, Client ID, and Secret.

🚧

Keep the Client ID

Store your Client ID where you can find it again-- you will also use it to initialize the MEDKit SDK each time the extension starts up.

Once you have registered your extension, your Twitch Extension Client ID also serves as your Muxy Client ID. Every call into the Muxy SDK is authorized by this clientId value

First Steps

πŸ‘

Game Developers

If you use the Unreal Engine or Unity game-development environment, add a Muxy-powered experience using integrated Muxy functionality.

πŸ“˜

Muxy Architecture for Extension Writers and Streamers

If you are creating extensions from the ground up, the following guides will help you to get familiar with the form and structure of a Muxy-powered extension.

TopicDescription
Get Started with MEDKitIntroduction to MEDKit and the Muxy SDK.
Build a Simple ExtensionBuild a "HelloWorld" Muxy extension with JavaScript
Basic Muxy Login WorkflowHow your broadcaster logs in to connect to the Muxy server.
Install SDK ManuallyInstall and configure MEDKit from a command shell, using npm, node.js, and webpack.

MEDKit Code Examples

These fully-commented, easy-to-understand code samples showcase how to use the Muxy MEDKit JavaScript SDK for common tasks.

Development Basics

Learn the basics of developing extensions that take full advantage of Muxy functionality.

TopicDescription
Set up User SimulationSimulate users with different user roles for debugging in the development environment.
Store State ValuesHow to define, store, and retrieve real-time extension and viewer state values.
Store Configuration DataHow to define, store, and retrieve extension-configuration values.
Store Arbitrary StateHow to define, store, and retrieve any kind of state data.
Get Viewer InformationHow to retrieve information about your extension viewers.
Call into the Twitch APIHow to make use of Twitch features in an extension.
Troubleshooting TipsSome hints and tips for avoiding common problems.

Viewer Engagement Techniques

These guides provide example code and advice for taking advantage of Muxy functionality in your extensions.

TopicDescription
Viewer Data AggregationIntroduces techniques and tools for scaling up by aggregating data from many viewers.

Code examples demonstrate Accumulating User Data and Ranking User Data.
Viewer Engagement ToolsTools for creating activities and events that encourage viewer interaction.

Code examples demonstrate how to set up and manage Polls and User Voting.

Integrate with Game Development Environments

Muxy functionality is integrated into Unreal Engine through a Muxy Plugin, and with Unity through a C# MEDKit SDK.
These guides help you install the integration tools, and get you started with initialization and implementing functionality.

Integrate Muxy with an Unreal Engine Game

Muxy's GameLink SDK is written in C++ and can be integrated into Unreal. See the Github repo for more information.

Integrate the C# MEDKit SDK with a Unity Game

For an existing game that uses the Unity engine, add a Muxy-powered experience by installing the C# MEDKit SDK.

TopicDescription
Unity GameLink TutorialThis tutorial walks through building a small Unity scene that does GameLink authentication and reacts to a viewer poll.

Learn more...