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
-
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.
-
Go to the Muxy Developer Portal and click Register New Extension.
-
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.
Topic | Description |
---|---|
Get Started with MEDKit | Introduction to MEDKit and the Muxy SDK. |
Build a Simple Extension | Build a "HelloWorld" Muxy extension with JavaScript |
Basic Muxy Login Workflow | How your broadcaster logs in to connect to the Muxy server. |
Install SDK Manually | Install 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.
Topic | Description |
---|---|
Set up User Simulation | Simulate users with different user roles for debugging in the development environment. |
Store State Values | How to define, store, and retrieve real-time extension and viewer state values. |
Store Configuration Data | How to define, store, and retrieve extension-configuration values. |
Store Arbitrary State | How to define, store, and retrieve any kind of state data. |
Get Viewer Information | How to retrieve information about your extension viewers. |
Call into the Twitch API | How to make use of Twitch features in an extension. |
Troubleshooting Tips | Some 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.
Topic | Description |
---|---|
Viewer Data Aggregation | Introduces techniques and tools for scaling up by aggregating data from many viewers. Code examples demonstrate Accumulating User Data and Ranking User Data. |
Viewer Engagement Tools | Tools 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.
Topic | Description |
---|---|
Unity GameLink Tutorial | This tutorial walks through building a small Unity scene that does GameLink authentication and reacts to a viewer poll. |
Learn more...
- Download a complete MEDKit extension starter project for Vue.js: MEDKit Starter Vue
- Read up on the Muxy Extension SDK: Using the MEDKit REST API
- Hit us up with any issues at [email protected]
Updated over 1 year ago