Connect GitHub Copilot
Connect GitHub Copilot to see who actually uses Copilot, and what your organisation is billed for it.
You need access to connect AI providers. Ask your Flowstate admin. For pull requests and commits, see Connect GitHub instead.
Before you start
- An organisation owner in GitHub, to create the token.
- The Copilot usage metrics policy enabled in GitHub. Without it, GitHub doesn’t report activity per person.
Connect GitHub Copilot
- In GitHub, create a personal access token with the
read:orgscope. For a fine-grained token, give it the View Organization Copilot Metrics permission instead. Don’t usemanage_billing:copilot: it doesn’t give access to organisation reports. - Note your organisation’s login exactly as it appears in your GitHub web address.
- In Flowstate, go to Settings → Integrations, select Browse catalog and open GitHub Copilot (Business / Enterprise).
- Under How to connect, select Use this route.
- Enter the token in Personal access token and the login in Organisation.
- Select Verify and connect.
- Match GitHub logins to people under Settings → Integrations → User attribution. GitHub doesn’t send email addresses, so Flowstate can’t match them for you. See Match people and teams from your tools.
Check it’s working
The token is listed under Connected keys with the status Working. See spend and adoption in Agent insights.
What Flowstate brings in
- What GitHub billed your organisation for Copilot, each day.
- Each person’s daily Copilot activity, recorded against their GitHub login.
- Flowstate syncs every hour, and brings in your history when you first connect. Reports start on 10 October 2025 and reach back one year.
- GitHub publishes each day’s figures within two full days, so the latest day or two is always empty.
If something’s not right
Cost arrives but there’s no activity per person. The Copilot usage metrics policy isn’t enabled in GitHub.
The last day or two are empty. That’s expected. GitHub hasn’t published those days yet.
Activity isn’t shown against a person. Their GitHub login isn’t matched. Match it under User attribution.
The connection shows Key rejected. The token expired or lost its scope. Create a new one and select Replace key on the connection.