Assuming you’re using a modern TV, it functions just like a monitor for a computer. A mini PC is the same as a desktop/laptop, just in a little box. So basically you just plug the mini PC in with an HDMI to the TV, install the apps you need on the mini PC and you’re good to go
You’ll have to use the PC to interact with things, this is where a lot of people suggest a cheap Bluetooth keyboard with a track pad, or keyboard and mouse.