# How to set up IPTV on a MAG box with an M3U URL

> Copy an M3U file to a USB drive, open it on a MAG 4XX or 5XX box, and add the channels with F3.

This guide shows how to bring [IPTV](https://iptvfiesta.sx/help-center/article/what-is-iptv) channels to a **MAG 4XX** or **MAG 5XX** box, including the MAG410, MAG420, MAG425, MAG500, MAG520, and MAG524.

IPTV providers do not support MAG 4XX and 5XX boxes with the portal system. This setup is the alternative solution to bring IPTV to your MAG box. For a portal setup, read [how to set up IPTV on a MAG box with a portal](https://iptvfiesta.sx/help-center/article/how-to-setup-iptv-on-mag-box).

## Add an M3U file to the MAG box

1. Download the M3U URL from your IPTV provider.
2. Copy the M3U file to a USB storage drive.
3. Insert the USB storage drive into your MAG box.

   ![MAG home screen with a USB storage connected message](https://iptvfiesta.sx/api/help-center/media/2021-08-How-to-setup-IPTV-on-MAG-with-M3U-url-1.jpg)

4. When the MAG box shows the login screen, select **Embedded portal**.
5. Select **Home Media**.

   ![MAG home screen with the Home Media tile highlighted](https://iptvfiesta.sx/api/help-center/media/2021-08-How-to-setup-IPTV-on-MAG-with-M3U-url-2.jpg)

6. Scroll down and select your USB drive.

   ![MAG Home media list with the USB drive highlighted](https://iptvfiesta.sx/api/help-center/media/2021-08-How-to-setup-IPTV-on-MAG-with-M3U-url-3.jpg)

7. Find and select the M3U file on the USB drive.

   ![MAG USB file list with the M3U file highlighted](https://iptvfiesta.sx/api/help-center/media/2021-08-How-to-setup-IPTV-on-MAG-with-M3U-url-4.jpg)

8. Select **Open**.

   ![MAG Operations menu with Open highlighted](https://iptvfiesta.sx/api/help-center/media/2021-08-How-to-setup-IPTV-on-MAG-with-M3U-url-5.jpg)

9. In the **Open playlist** window, press **F3** (the yellow button on the remote).

   ![MAG Open playlist window with the F3 option for adding all records](https://iptvfiesta.sx/api/help-center/media/2021-08-How-to-setup-IPTV-on-MAG-with-M3U-url-6.jpg)

10. Press **Back** to return to the portal page.

11. Select **IPTV channels**.

    ![MAG home screen with the IPTV channels tile highlighted](https://iptvfiesta.sx/api/help-center/media/2021-08-How-to-setup-IPTV-on-MAG-with-M3U-url-7.jpg)

The M3U file is added to the **IPTV** section of **Home media**. Live TV is ready to watch.
