Github GraphQL API


Github is a development platform where millions of developers and companies build, ship, and maintain their software. It offers a GraphQL API which we can join with Hasura using Remote Schemas.

Adding Github as a Remote Schema

  1. Create a Github personal access token with the proper scopes.

  2. Add the token as an environment variable in Hasura in the form of bearer <your personal access token>

  3. In the Hasura Console, go to Remote Schemas and add the Github API

    • The GraphQL Server URL is
    • Add the Authorization header from the environment variable you created earlier
  4. Test by querying the token user

      viewer {
Released: June 10, 2021
Developed by: Github
Category: Data Services