[Yandex Cloud documentation](../../index.md) > [Yandex Identity Hub](../index.md) > [Step-by-step guides](index.md) > Billing management in Yandex Identity Hub

# Billing management in Yandex Identity Hub

Connecting Yandex Identity Hub users to external applications is [billable](../pricing.md#rules). You can [manage](../pricing.md#pricing-management) Yandex Identity Hub billing through the [Cloud Center interface](https://center.yandex.cloud/organization).

## Linking a billing account to Yandex Identity Hub {#add-billing-account}

By default, an Yandex Identity Hub [organization](../concepts/organization.md) has a non-billable connection limit of 15 users who can authenticate to external applications within the calendar month. To use Yandex Identity Hub's billable features and [change](#modify-limit) this connection limit, link a [billing account](../../billing/concepts/billing-account.md) to Yandex Identity Hub:

{% list tabs group=instructions %}

- Cloud Center UI {#cloud-center}

  1. Log in to [Yandex Identity Hub](https://center.yandex.cloud/organization).

      {% note info %}
      
      To link a billing account to Yandex Identity Hub, the following roles are required:
      
      * The `organization-manager.idpInstances.billingAdmin` [role](../security/index.md#organization-manager-idpInstances-billingAdmin) or higher for the Yandex Identity Hub organization.
      * The `billing.accounts.editor` [role](../../billing/security/index.md#billing-accounts-editor) or higher for the billing account.
      
      {% endnote %}

  1. In the left-hand panel, select ![credit-card](../../_assets/console-icons/credit-card.svg) **Billing management**.
  1. To link a billing account for the first time:
  
      1. In the top-right corner, click **Link account** and do the following in the window that opens:

          1. Select the billing account you need from the list.

              If you do not have a billing account or would like to create a new one, click **Create an account** and follow [this guide](../../billing/operations/create-new-account.md) to create a new billing account.
          1. Click **Link**.

  1. To change a billing account linked to Yandex Identity Hub:

      1. In the top-right corner, click **Change account** and do the following in the window that opens:

          1. Select the billing account you need from the list.

              If you want to create a new billing account, click **Create an account** and follow [this guide](../../billing/operations/create-new-account.md) to create a new billing account.
          1. Click **Link**.

{% endlist %}

This will link your billing account to Yandex Identity Hub, and you will be able to use and manage Yandex Identity Hub's billable features.

## Viewing limit usage statistics {#view-stats}

To view organization users' connection [limit](../pricing.md#monthly-limit) usage statistics:

{% list tabs group=instructions %}

- Cloud Center UI {#cloud-center}

  1. Log in to [Yandex Identity Hub](https://center.yandex.cloud/organization).

      {% note info %}
      
      To view connection limit usage data for an organization, you need the `organization-manager.idpInstances.billingViewer` [role](../security/index.md#organization-manager-idpInstances-billingViewer) or higher for that organization.
      
      {% endnote %}

  1. In the left-hand panel, select ![credit-card](../../_assets/console-icons/credit-card.svg) **Billing management**.
  1. Under **Users logged into external applications**, you can see the current limit in place and how much of it has been used.

      Expand the **Users logged into external applications** section for a list of users who have used the connection limit this current month. This list contains user names and IDs, as gives the date and time the user first authenticated to an external application during the current month.

      {% note tip %}

      To quickly find info on a specific user, use the search bar to enter the login or ID.

      {% endnote %}

{% endlist %}

## Editing the connection limit {#modify-limit}

To edit the connection limit:

{% list tabs group=instructions %}

- Cloud Center UI {#cloud-center}

  1. Log in to [Yandex Identity Hub](https://center.yandex.cloud/organization).

      {% note info %}
      
      To change the connection limit in an organization, you need the `organization-manager.idpInstances.billingAdmin` [role](../security/index.md#organization-manager-idpInstances-billingAdmin) or higher for that organization.
      
      {% endnote %}

  1. In the left-hand panel, select ![credit-card](../../_assets/console-icons/credit-card.svg) **Billing management**.
  1. If your [billing account](../../billing/concepts/billing-account.md) is not linked to Yandex Identity Hub yet, [link](#add-billing-account) it to be able to use Yandex Identity Hub's billable features.
  1. Click **Change limit**, and in the window that opens:

      1. To increase the connection limit:
      
          1. In the **New limit** field, increase the connection limit and click **Go to payment**.

              Extra users above the non-billable limit will be [billed](../pricing.md#rules).
          1. In the window that opens, check the payment amount and click **Pay** to confirm your payment.

              The amount will be debited from your billing account, and the connection limit will be updated directly after the payment.
      1. To reduce the connection limit:

          1. In the **New limit** field, reduce the connection limit and click **Save**.

              The already paid connections will remain valid until the end of the current month, and the changes you make will take effect starting from the first day of the next month.

              {% note info %}

              You can only reduce the limit to the non-billable level of 15 connections.

              {% endnote %}

{% endlist %}

#### See also {#see-also}

* [Yandex Identity Hub pricing policy](../pricing.md)