How to connect Jellyfin or Emby and sell access to your server
Make an API key on your Jellyfin or Emby server, add it to your portal and sell plans. Customer accounts are created and disabled for you.
Jellyfin and Emby servers connect with an API key. Once connected, a customer who pays gets their own account on your server with the libraries and limits of their plan, and their login by email. When they stop paying, the account is disabled. You don't run any script of your own.
1Step 1 of 3Make an API key on your server
Sign in to your server's dashboard as an administrator.
- Jellyfin: go to Dashboard → API Keys, click + Add and name the key, for example Billing Platform.
- Emby: go to Advanced → API Keys, click New Api Key and give it a description.
Copy the key. These menus are part of Jellyfin and Emby, not of your portal.
2Step 2 of 3Add the server
Go to Panels → Media servers → All media servers. Under Add New Service, click the Jellyfin or Emby card and fill in:
- Display Name: a name for the server. The first product you sell from it is named after it; you can rename the product later.
- Server URL: the address of your server, usually on port 8096.
- API Key: the key from step 1.
Click Add Server. Your server's page opens.
3Step 3 of 3Create and sell plans
Open the Plans tab, click Create plan, set the streams, libraries and prices and click Save Template. Then click Sell as product on the plan and Create product. The full walkthrough is in the guide on media server plans, linked below.
What happens automatically
- Purchase: the customer picks a username on your product page. We create their account on your server with a password we make, apply the plan's libraries and limits, and email the login in the Credentials Delivery email.
- Streams: the stream limit is set on the customer's account itself.
- Plan changed later: on the Plans tab, click Re-sync limits to apply the new limits to customers with an active subscription. Accounts you made yourself are not touched.
- Renewal: the account stays on. If it had been switched off, renewing switches it on again.
- Not paid: after your store's grace period (normally 7 days after the end date), the account is disabled, not deleted.
- Cancelled: the customer keeps access until the end date, then the account is disabled.
- Free trial ended: the trial account is removed straight away. Trials get no grace period.
Ready to try it yourself?
Spin up your own IPTVbp store and connect a panel. It's free until you have 25 paying customers, no card needed.
Related Articles
How to set up plans and prices for Plex, Emby and Jellyfin
Build media server plans with their own streams, downloads, 4K and libraries, price each length, and sell them all from one product card.
How to connect your Plex server and sell Plex access
Connect Plex with its address and X-Plex-Token, then sell plans. Paying customers get a Plex invite to the plan's libraries automatically.
How to sell multi-room (extra streams) on Plex, Emby and Jellyfin
Let customers pick how many screens they can watch on at once. Add stream options to a Plex, Emby or Jellyfin plan in one step.