How to Set Up Plex Media Server

Connect your Plex Media Server to IPTVbp to sell access to your Plex libraries.

intermediate
15 minutes5 steps
1

Ensure your Plex server is accessible

Your Plex Media Server must be accessible from the internet for IPTVbp to manage users and libraries. Open Plex Web App, go to Settings > Remote Access and make sure remote access is enabled and shows a green checkmark. Note your server's public URL.

Your Plex server URL typically looks like http://your-ip:32400 or you can use a custom domain that points to your Plex server.

2

Find your Plex authentication token

The Plex token is required for API access. There are several ways to find it:

Method 1 — From the web app: 1. Sign in to app.plex.tv and open any media item in your library. 2. Click the three dots menu and select Get Info > View XML. 3. Look at the URL in your browser — find the parameter X-Plex-Token= and copy the value after it.

Method 2 — From Plex settings: 1. Go to your Plex server URL directly: https://your-server:32400/web 2. Navigate to Settings > General. 3. Open your browser developer tools (F12), go to the Network tab, and look for requests containing X-Plex-Token in the headers.

Your Plex token is a long alphanumeric string like 'abc123XYZdef456'. It does not expire unless you sign out of all devices.

3

Add the Plex server in IPTVbp

In your IPTVbp vendor portal, navigate to Media Servers or Panels and click Add Server. Select Plex as the server type and enter the details below.
FieldDescriptionRequired
Server URLThe public URL of your Plex Media Server, including the port if not using a reverse proxy.
Yes
Plex TokenYour Plex authentication token (X-Plex-Token). Used to authenticate API requests to your Plex server.
Yes

Never share your Plex token publicly. It grants full admin access to your Plex server.

4

Configure libraries for sharing

After adding the server, IPTVbp will fetch your available Plex libraries (Movies, TV Shows, Music, etc.). Select which libraries should be shared with customers when they purchase a subscription. You can create different products with different library combinations.

Create separate products for different access tiers — for example, a 'Movies Only' product and a 'Full Access' product with all libraries.

5

Test the connection

Click Test Connection to verify IPTVbp can communicate with your Plex server. The test will check authentication and retrieve your server info and library list. If successful, you are ready to create products linked to your Plex libraries.

If the connection fails, check that your Plex server is accessible from the internet and that the token is correct. Try accessing your-server-url/identity?X-Plex-Token=your-token in a browser to verify.

Ready to Get Started?

Join the waitlist and be among the first to automate your business.