1
0
mirror of synced 2025-12-23 21:07:12 -05:00

Customers can add users to a cost center via both the UI and API [GA] (#57077)

Co-authored-by: Felicity Chapman <felicitymay@github.com>
Co-authored-by: Greg Mondello <72952982+gmondello@users.noreply.github.com>
Co-authored-by: Isaac Brown <101839405+isaacmbrown@users.noreply.github.com>
Co-authored-by: Siara <108543037+SiaraMist@users.noreply.github.com>
This commit is contained in:
Holly 🦒
2025-08-14 12:28:53 -05:00
committed by GitHub
parent 9bd048e00c
commit 39bf8e8385
2 changed files with 9 additions and 20 deletions

View File

@@ -49,15 +49,7 @@ You can create cost centers to map spending to individual business units or grou
For example, if you were running a pilot program for {% data variables.copilot.copilot_enterprise %} for a group of employees, you might want to create a cost center to track their spending and set a budget independently of the rest of the company.
### Create a cost center
1. Go to your enterprise or organization account settings and click **{% octicon "credit-card" aria-hidden="true" aria-label="credit-card" %} Billing & Licensing**.
1. In the left sidebar, click **Cost centers**, then click **New cost center**.
1. Create the cost center. You don't need to add any repositories or organizations, because you will add users to the cost center directly in the next step.
>[!NOTE] As a priority, a cost center is charged for a {% data variables.product.prodname_copilot_short %} license if the assigned **user** has been added to the cost center directly. As a fallback, a cost center is charged for the license if the **organization where the user receives access** has been added to the cost center.
1. After creating the cost center, use the REST API to add the users whose usage you want to track. See [AUTOTITLE](/enterprise-cloud@latest/rest/enterprise-admin/billing#add-users-to-a-cost-center).
For more information, see [AUTOTITLE](/billing/tutorials/use-cost-centers).
## Preventing overspending