# Twitch Drops

Twitch Drops makes it easy to reward your players for watching your game on Twitch.

## Overview

The overall process for Twitch Drops is as follows:

1. Player watches a stream on Twitch and receives a reward
2. In the drops page on Twitch, the player presses Connect
3. They are redirected to the LootLocker authentication page where they can sign in with their account using Steam, Epic etc.
4. After signing in, they will link their Twitch account to their LootLocker account
5. The player can now receive claimed rewards in-game

## Pre-requisites

To get started with Twitch Drops, you need to have the following:

* An organization, game and application in the Twitch developer console
* A game in LootLocker

## Configuration

1. Configure [Unified Player Accounts](https://docs.lootlocker.com/players/unified-player-accounts) for your game, this is used to allow the player to authenticate during the Twitch link process.
2. Configure LootLocker for Twitch Drops, navigate to the [Twitch Drops settings page](https://console.lootlocker.com/content/twitch-drops/settings) in the LootLocker web console.
3. Set up a drops campaign in the Twitch developer console. This includes creating a new campaign, setting up the rewards, and configuring the campaign settings.
4. Link the Twitch campaign rewards to LootLocker rewards. Navigate to the [Twitch Rewards page](https://console.lootlocker.com/content/twitch-drops) in the LootLocker web console and create rewards for each reward you created on Twitch.

## Integration in Game

After players have claimed their rewards on Twitch, they will automatically get the reward on their player in LootLocker.

Depending on the reward type, you may need to implement additional logic in your game to use those rewards:

* **Assets**: If the reward is an asset type, use the [Asset system](https://docs.lootlocker.com/content/working-with-assets).
* **Progression**: If the reward is a progression type, use the [Progression system](https://docs.lootlocker.com/game-systems/progressions).
* **Currency**: If the reward is a currency item, use the [Currency system](https://docs.lootlocker.com/commerce/currencies).

If you want to notify them of this in the game itself, you can implement [LootLocker Notifications](https://docs.lootlocker.com/shared-systems/notifications) in your game.

The notification source will be `twitch_drop`.


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.lootlocker.com/content/twitch-drops.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
