# Linked users

{% hint style="info" %}
Linked users is a feature that is part of the premium pack that needs to be purchased separately.
{% endhint %}

Streams Manager allows you to link users in a way that allows one user (master user/account) to manage or pay for multiple linked users (sub users/accounts) without logging in with each sub user and making payments. For this feature to work properly, the following needs to be completed:

* Create a special plan that targets the master user by allowing only master users with the same number of sub accounts and plan type (number of devices, cost, etc.) to see it on the checkout page. This plan will be applied to the master user and all sub users. Set the plan so that number of concurrent streams, devices and plan duration are set as if they are intended for a single user but set the cost to match the number of sub accounts this master user intends to manage or pay for. Also, set the correct maximum number of sub accounts the plan will support. **This is required.** Naming the plan in a way that indicates the number of sub accounts may be beneficial (i.e. 1 device - 3 accounts)
* Invite the master user and all sub users to your servers and place them on the same plan you configured in the previous step. Ensure that the last payment on all users has the same expiration date/time
* Navigate to `Users -> Linked Users` page and add a link from master user to all sub users
* Next time a master user makes a payment on a plan that is configured to support more than zero sub users, master user and all sub users will get a payment created on the same plan for the same duration and this will effectively extend the subscription for all users at the same time

There are few important things to keep in mind:

* This feature will not work on trial plans
* If master user or sub users expire and get removed from your media server and master user then makes a payment, this will only invite or share a server with the master user but only create payments for sub users without inviting them or sharing a server with them. You will have to manually re-invite or reshare your server with sub users.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://streamsmanager.gitbook.io/streams-manager/configuration/linked-users.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
