Skip to main content
GitHub Copilot Seats
Updated over a week ago

Introduction

The GitHub Copilot Seats connector imports data on daily activate usage of GitHub Copilot at the individual user level by using the seat assignments API. To enable the GitHub Copilot Seats connector, you need a Personal Access Token (PAT).

Steps to connect

Step 1 must be completed by a GitHub enterprise admin user.

Step 1

Navigate to Settings -> Developer Settings -> Personal Access Token.

Step 2

Click on Token (classic) and generate new token (classic). Either the manage_billing:copilot or read:enterprise scope is required.

Step 3

Navigate to the Data Cloud > Connections screen within DX, then add a connection using your credentials generated in the previous steps.

API Reference

Endpoint

Documentation Link

/enterprises/ENTERPRISE/copilot/billing/seats

Errors

This table lists error codes that you may encounter when adding a connection in DX.

Error

Description

invalid_credentials

Your API credentials entered are not valid.

invalid_permissions

Your API token does not have the permissions required by DX.

Did this answer your question?