Skip to main content

Предоставление доступа к Copilot членам вашей организации

Предоставьте доступ к GitHub Copilot для некоторых или всех членов вашей организации.

Кто может использовать эту функцию?

Organization owners for organizations with a subscription to Copilot Business.

Configuring access to GitHub Copilot in your organization

After setting up a Copilot Business subscription, an organization owner grant GitHub Copilot access to members of their organization.

Billing for GitHub Copilot starts when you grant an organization member access, irrespective of when they first use Copilot. If you grant an organization member access midway through a billing cycle, the cost is prorated for the remainder of the cycle. For more information, see "About billing for GitHub Copilot."

Granting access to GitHub Copilot for all current and future users in your organization

  1. In the upper-right corner of GitHub, select your profile photo, then click Your organizations.
  2. Next to the organization, click Settings.
  3. In the "Code, planning, and automation" section of the sidebar, click Copilot, and then click Access.
  4. If the Allow this organization to assign seats button is displayed, click this button.
  5. If you see the message "Configure code policies to start adding seats":
    1. Click Go to policies.
    2. Set any policies that are currently set to "Unconfigured".
    3. In the left sidebar, click Access.
  6. Under "Copilot Business is active in your organization," to enable GitHub Copilot for all current and future users in your organization, select Enabled For: All members of the organization.
  7. In the "Confirm seats purchase" dialog, to confirm that you want to enable GitHub Copilot for all current and future users in your organization, click Purchase seats.

Granting access to GitHub Copilot for specific users in your organization

  1. In the upper-right corner of GitHub, select your profile photo, then click Your organizations.

  2. Next to the organization, click Settings.

  3. In the "Code, planning, and automation" section of the sidebar, click Copilot, and then click Access.

  4. If the Allow this organization to assign seats button is displayed, click this button.

  5. If you see the message "Configure code policies to start adding seats":

    1. Click Go to policies.
    2. Set any policies that are currently set to "Unconfigured".
    3. In the left sidebar, click Access.
  6. Under "Copilot Business is active in your organization," to enable GitHub Copilot for selected teams or users in your organization, select Enabled For: Selected members.

  7. If you are updating user access from the Enabled For: All members of the organization setting, in the "Confirm policy update" dialog, select how you want to start assigning access.

    • To unassign all members and then select those who should have access, select Start from scratch.
    • To keep all members who currently have access and then select those who should not have access, select Renew seats.
  8. Click Assign Copilot seats.

  9. In the "Enable Copilot access for users and teams" dialog, click one of the two tabs.

    Screenshot of the "enable access for selected members" dialog.

    • Click Users and teams to search for and add individual users or teams.

      To search for a user, type their username or full name in the search bar. If you select a user who is not currently a member of your organization, they will be invited to join your organization when you click Continue to purchase followed by Purchase seats.

    • Click Upload CSV to add users in bulk by uploading a CSV file.

      To add members in bulk, click Choose CSV to upload, and then upload a CSV file including either the username or email address for each member you want to add, separated by a comma. The file can contain a mixture of usernames and email addresses.

      Warning

      When you upload a CSV file, unless you're using Enterprise Managed Users, GitHub Copilot will search all users on GitHub.com for matches. If the CSV includes users who are not members of your organization, they will be invited to join your organization when you click Continue to purchase followed by Purchase seats. This warning does not apply to accounts using Enterprise Managed Users.

      Review the list of users generated from your CSV file. Clear the selection of any users you do not want to add.

  10. Click Continue to purchase, then click Purchase seats.

Using the API to grant access to GitHub Copilot

You can use GitHub's REST API to grant access to GitHub Copilot for teams, or specific users, in your organization. See "Add teams to the Copilot subscription for an organization" and "Add users to the Copilot subscription for an organization."

Further reading