AccessLayer
Connectors
Setup Guides

GitHub

Set up the GitHub connector in AccessLayer.

GitHub is a source control and developer collaboration platform used for repositories, pull requests, issues, workflows, and organization management.

In AccessLayer, the GitHub connector lets you query GitHub repository, organization, user, issue, pull request, and workflow metadata for reporting and operational analysis.

Before you start

You will need GitHub API credentials for the GitHub account or instance you want to query.

Before you begin, make sure you have:

  • A GitHub personal access token
  • The API host for the GitHub environment you want to connect to

For additional details, see the GitHub personal access token documentation.

Use the correct API host

For GitHub.com, use api.github.com. For GitHub Enterprise, use your instance's API host.

Generating your credentials

Create a personal access token

In GitHub, go to Settings -> Developer settings -> Personal access tokens and create a token with the permissions needed for the data you want to query.

Choose the correct host

If you are using GitHub.com, enter api.github.com. If you are using GitHub Enterprise, enter your instance's API host instead.

Troubleshooting

On this page