# How to set up Plex on Apple TV

> Install the Plex app on Apple TV and link it to your Plex account with a four-character code.

This guide shows how to install the official Plex app on an Apple TV and link it to your Plex account. The app runs on tvOS, so it needs a 4th generation Apple TV or later. If you are new to the device, read [what is Apple TV](https://iptvfiesta.sx/help-center/article/what-is-apple-tv).

To watch IPTV channels on the same device, [install IPTV on Apple TV via the IP Television app](https://iptvfiesta.sx/help-center/article/how-to-setup-iptv-on-ip-television-app).

![An Apple TV screen with Plex content rows, an Apple TV box, and a remote](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-setup-Plex-on-Apple-TV-1.jpg)

## Install the Plex app

1. Open the **App Store** from the Apple TV main screen.

   ![The Apple TV home screen with the App Store icon selected](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-setup-Plex-on-Apple-TV-2.jpg)

2. Select **Search** and enter `Plex`. Select **Plex**, not a similar app such as **Simple X – for Plex**.

   ![App Store search results for Plex with the Plex app selected](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-setup-Plex-on-Apple-TV-3.jpg)

3. Select **Install** on the app page.

   ![The Plex app page in the App Store with the Install button](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-setup-Plex-on-Apple-TV-4.jpg)

4. Select **Open** when the **Install** button changes. The Plex app starts.

## Link the app to your Plex account

1. Wait for the Plex splash screen. The app asks you to log in and shows a security code.

   ![The Plex welcome screen with a four-character code](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-setup-Plex-on-Apple-TV-5.jpg)

2. Open [Plex.tv/link](https://plex.tv/link) on a phone or computer.
3. Enter the four-character alphanumeric code shown on the Apple TV. The website and the Apple TV app both confirm the link.
4. Select the Plex media server you want to use. The app lists every server linked to your account; the screenshot shows one server named `plexmediaserver_1`.

   ![The Plex Servers list with a server named plexmediaserver_1](https://iptvfiesta.sx/api/help-center/media/2021-09-How-to-setup-Plex-on-Apple-TV-6.jpg)

You can now play the media on that server from your Apple TV.
