# 为客户端创建企业帐户并支付相关费用

可以代表客户创建企业帐户 GitHub 并为其付费。

## 先决条件

在开始之前，请确保知道：

* GitHub 将成为你创建的企业的所有者的客户端的用户名
* 客户希望使用的企业名称
* 用于接收收据的电子邮件地址
* 客户在企业中需要的席位数
* 客户所需的企业帐户类型，请参阅“[为 GitHub Enterprise Cloud 选择企业类型](/zh/enterprise-cloud@latest/admin/concepts/enterprise-fundamentals/choose-an-enterprise-type)”

## 步骤 1：在  上创建个人帐户 GitHub

你将使用个人帐户来设置企业帐户。 将来续订或更改客户的订阅时，您也需要访问此帐户以进行相关操作。

如果已有个人帐户 GitHub，请跳到 [步骤 2](#step-2-create-the-enterprise-account)。

1. 转到“[加入 GitHub](https://github.com/join)”页。
2. 填写表单，然后单击“创建帐户”。
3. 为您的个人帐户选择 GitHub Free。
4. 单击“完成注册”。

## 步骤 2：创建企业帐户

1. 导航到“[设置企业试用版](https://github.com/account/enterprises/new)”。
2. 根据客户的要求：
   * 在GitHub.com上拥有个人账户的企业用户：点击**开始使用个人账户**
   * 拥有托管用户和可选数据驻留的企业：单击“Get started with managed users”\*\*\*\*
3. 在表单中填写客户信息。

   如果选择企业托管用户，请定义数据托管要求“[关于支持数据驻留的 GitHub Enterprise Cloud](/zh/enterprise-cloud@latest/admin/data-residency/about-github-enterprise-cloud-with-data-residency)”。
4. 单击“创建企业”。

## 步骤 3：将企业升级到年度付费订阅

1. 导航到您的企业。 例如，从 GitHub.com 上的 [公司](https://github.com/settings/enterprises?ref_product=ghec\&ref_type=engagement\&ref_style=text) 页面。
2. 在页面顶部，单击“ <svg version="1.1" width="16" height="16" viewBox="0 0 16 16" class="octicon octicon-gear" aria-label="gear" role="img"><path d="M8 0a8.2 8.2 0 0 1 .701.031C9.444.095 9.99.645 10.16 1.29l.288 1.107c.018.066.079.158.212.224.231.114.454.243.668.386.123.082.233.09.299.071l1.103-.303c.644-.176 1.392.021 1.82.63.27.385.506.792.704 1.218.315.675.111 1.422-.364 1.891l-.814.806c-.049.048-.098.147-.088.294.016.257.016.515 0 .772-.01.147.038.246.088.294l.814.806c.475.469.679 1.216.364 1.891a7.977 7.977 0 0 1-.704 1.217c-.428.61-1.176.807-1.82.63l-1.102-.302c-.067-.019-.177-.011-.3.071a5.909 5.909 0 0 1-.668.386c-.133.066-.194.158-.211.224l-.29 1.106c-.168.646-.715 1.196-1.458 1.26a8.006 8.006 0 0 1-1.402 0c-.743-.064-1.289-.614-1.458-1.26l-.289-1.106c-.018-.066-.079-.158-.212-.224a5.738 5.738 0 0 1-.668-.386c-.123-.082-.233-.09-.299-.071l-1.103.303c-.644.176-1.392-.021-1.82-.63a8.12 8.12 0 0 1-.704-1.218c-.315-.675-.111-1.422.363-1.891l.815-.806c.05-.048.098-.147.088-.294a6.214 6.214 0 0 1 0-.772c.01-.147-.038-.246-.088-.294l-.815-.806C.635 6.045.431 5.298.746 4.623a7.92 7.92 0 0 1 .704-1.217c.428-.61 1.176-.807 1.82-.63l1.102.302c.067.019.177.011.3-.071.214-.143.437-.272.668-.386.133-.066.194-.158.211-.224l.29-1.106C6.009.645 6.556.095 7.299.03 7.53.01 7.764 0 8 0Zm-.571 1.525c-.036.003-.108.036-.137.146l-.289 1.105c-.147.561-.549.967-.998 1.189-.173.086-.34.183-.5.29-.417.278-.97.423-1.529.27l-1.103-.303c-.109-.03-.175.016-.195.045-.22.312-.412.644-.573.99-.014.031-.021.11.059.19l.815.806c.411.406.562.957.53 1.456a4.709 4.709 0 0 0 0 .582c.032.499-.119 1.05-.53 1.456l-.815.806c-.081.08-.073.159-.059.19.162.346.353.677.573.989.02.03.085.076.195.046l1.102-.303c.56-.153 1.113-.008 1.53.27.161.107.328.204.501.29.447.222.85.629.997 1.189l.289 1.105c.029.109.101.143.137.146a6.6 6.6 0 0 0 1.142 0c.036-.003.108-.036.137-.146l.289-1.105c.147-.561.549-.967.998-1.189.173-.086.34-.183.5-.29.417-.278.97-.423 1.529-.27l1.103.303c.109.029.175-.016.195-.045.22-.313.411-.644.573-.99.014-.031.021-.11-.059-.19l-.815-.806c-.411-.406-.562-.957-.53-1.456a4.709 4.709 0 0 0 0-.582c-.032-.499.119-1.05.53-1.456l.815-.806c.081-.08.073-.159.059-.19a6.464 6.464 0 0 0-.573-.989c-.02-.03-.085-.076-.195-.046l-1.102.303c-.56.153-1.113.008-1.53-.27a4.44 4.44 0 0 0-.501-.29c-.447-.222-.85-.629-.997-1.189l-.289-1.105c-.029-.11-.101-.143-.137-.146a6.6 6.6 0 0 0-1.142 0ZM11 8a3 3 0 1 1-6 0 3 3 0 0 1 6 0ZM9.5 8a1.5 1.5 0 1 0-3.001.001A1.5 1.5 0 0 0 9.5 8Z"></path></svg>**设置**”。
3. 在页面顶部，单击“ **<svg version="1.1" width="16" height="16" viewBox="0 0 16 16" class="octicon octicon-credit-card" aria-label="credit-card" role="img"><path d="M10.75 9a.75.75 0 0 0 0 1.5h1.5a.75.75 0 0 0 0-1.5h-1.5Z"></path><path d="M0 3.75C0 2.784.784 2 1.75 2h12.5c.966 0 1.75.784 1.75 1.75v8.5A1.75 1.75 0 0 1 14.25 14H1.75A1.75 1.75 0 0 1 0 12.25ZM14.5 6.5h-13v5.75c0 .138.112.25.25.25h12.5a.25.25 0 0 0 .25-.25Zm0-2.75a.25.25 0 0 0-.25-.25H1.75a.25.25 0 0 0-.25.25V5h13Z"></path></svg> 计费”和“许可**”。
4. 在页面顶部，单击“购买企业版”。
5. 在“你希望多久计费一次?”下，选择“按年付费”。
6. 在“你想要包含多少个席位?”下，键入你的客户想要的席位数。
7. 在“付款方式”下，输入付款详细信息。
8. 单击“ **完成 GitHub Enterprise 购买**”。

## 步骤 4：邀请客户成为企业所有者

邀请客户成为企业所有者。 有关详细信息，请参阅“[邀请人员管理企业](/zh/enterprise-cloud@latest/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise#inviting-an-enterprise-administrator-to-your-enterprise-account)”。

## 步骤 5：将角色更改为账单管理员

1. 导航到您的企业。 例如，从 GitHub.com 上的 [公司](https://github.com/settings/enterprises?ref_product=ghec\&ref_type=engagement\&ref_style=text) 页面。
2. 在页面顶部，单击“**<svg version="1.1" width="16" height="16" viewBox="0 0 16 16" class="octicon octicon-person" aria-label="person" role="img"><path d="M10.561 8.073a6.005 6.005 0 0 1 3.432 5.142.75.75 0 1 1-1.498.07 4.5 4.5 0 0 0-8.99 0 .75.75 0 0 1-1.498-.07 6.004 6.004 0 0 1 3.431-5.142 3.999 3.999 0 1 1 5.123 0ZM10.5 5a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"></path></svg> 人员**”。
3. 在“<svg version="1.1" width="16" height="16" viewBox="0 0 16 16" class="octicon octicon-person" aria-label="person" role="img"><path d="M10.561 8.073a6.005 6.005 0 0 1 3.432 5.142.75.75 0 1 1-1.498.07 4.5 4.5 0 0 0-8.99 0 .75.75 0 0 1-1.498-.07 6.004 6.004 0 0 1 3.431-5.142 3.999 3.999 0 1 1 5.123 0ZM10.5 5a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0Z"></path></svg> People”下，单击“管理员”\*\*\*\*。
4. 确认客户已被列为企业所有者。
5. 在用户名右侧，选择 <svg version="1.1" width="16" height="16" viewBox="0 0 16 16" class="octicon octicon-kebab-horizontal" aria-label="Administrator settings" role="img"><path d="M8 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3ZM1.5 9a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Zm13 0a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3Z"></path></svg> 下拉菜单，然后单击“更改角色”。

   ![管理员列表中的用户的屏幕截图。 用橙色边框突出显示了标有烤肉串图标的下拉菜单。](/assets/images/help/business-accounts/administrator-settings.png)
6. 选择“账单管理员”，然后单击“更改角色”。

## 后续步骤

1. 请联系你的客户，要求他们将你添加到企业中担任计费管理员。 你需要成为企业的计费管理员以便将来续订或更改客户的订阅。 请参阅“[邀请人员管理企业](/zh/enterprise-cloud@latest/admin/managing-accounts-and-repositories/managing-users-in-your-enterprise/inviting-people-to-manage-your-enterprise)”。
2. 除非你从企业中删除公司的付款方式，否则客户的付费订阅将自动续订，请参阅“[管理付款和账单信息](/zh/billing/how-tos/set-up-payment/manage-payment-info)”。
3. 如果您想将贵公司的信用卡从企业账户中移除，以免在续订或产生其他费用时自动扣款，请联系 通过网站管理员[GitHub支持门户](https://support.github.com)。