To set up IPTV in STB Emulator, you need to follow these steps:

Download and install STB Emulator on your Android device from the Google Play Store.
Open STB Emulator and select « Settings ».
Click on « Profiles » and then click on « New Profile ».
Enter a name for your profile and select « STB Configuration ».
Select « MAC Address » and enter the MAC address of your device (you can find it on the back of your STB box).
Go back to the « Profile » settings and select « Portal Settings ».
Enter the URL of your IPTV service provider’s portal (e.g., in the « Portal URL » field.
Click on « OK » to save your settings and return to the main screen.
Click on your newly created profile to launch it.
Wait for the STB Emulator to load the IPTV channels, and start watching them.
STB Emulator offers a user-friendly interface and a range of features such as EPG, channel sorting, and parental control. It also supports various playlist formats such as M3U, JSON, and XTREAM-CODES API.

Please note that the steps may vary slightly depending on the version of STB Emulator you are using.