To set up a Steam Link device, you'll need to connect it to both your TV and your computer. Once they're connected, you can start playing games.
To livestream Google Stadia on YouTube, start a game, open the Stadia menu, and choose the "Live stream" menu option.