# How to set up IPTV on IPTVX for Apple TV and iOS

> Add an Xtream Codes login or M3U playlist to IPTVX on Apple TV or iOS and check that channels and the guide load.

IPTVX is an IPTV player for Apple TV, iPhone, iPad, and Mac. It loads the EPG automatically, shows VOD posters, supports Apple TV Top Shelf, and syncs your playlists through iCloud.

## Before you start

- IPTV subscription details from your provider: Xtream Codes credentials or an M3U playlist URL.
- An Apple TV on tvOS 15 or later, an iPhone, an iPad, or an Apple Silicon Mac.
- The IPTVX app from the App Store.

## Add your first playlist

1. Open the **App Store**, search for `IPTVX`, and select **Get**.
2. Open IPTVX. On the first launch, select **New Playlist**, or tap the **+** button or the red button on the home screen.
3. Select your connection type:

   - **Xtream Codes API** for automatic channel categories, VOD posters, and the EPG.
   - **M3U Playlist** if your provider supplied only a single M3U or M3U8 link.

4. In **Name**, enter a name such as `My IPTV`.
5. In **Server URL**, enter the provider's portal URL, for example `http://line.provider.com:8080`. If you have only an M3U link, read [how to find the server address in an M3U URL](https://iptvfiesta.sx/help-center/article/how-to-find-server-address-in-m3u-url) to extract the exact Xtream server URL.
6. In **Username**, enter your account username.
7. In **Password**, enter your account password.
8. Select **Save**.

IPTVX then parses the provider's streams, indexes the channel categories, downloads the posters, and syncs the EPG data. Select the playlist icon when the app finishes.

## Check that the setup works

1. Open **Live TV** in the side menu and open a category. Channels should load with logos and current program information.
2. Play a live channel or a movie. Video and audio should start within a few seconds without freezing.

## Useful tips

### Paste long links from an iPhone or iPad

Use the **Apple TV Remote** app on your iPhone or iPad to copy and paste long URLs and passwords into the tvOS text fields.

### Fix playback or audio problems

If a channel stutters or shows a black screen with sound, open **IPTVX Settings** > **Player** and switch between the default player engine and an alternative decoder, such as **KSPlayer**.

### Sync playlists with iCloud

When you sign in with the same Apple ID, saved playlists, watch history, and favorites sync across your Apple TV, iPhone, and iPad.
