Setting up a GitHub Integration
Last updated
Was this helpful?
Last updated
Was this helpful?
The GitHub integration supports two authentication methods: Personal Access Token (PAT) and GitHub App authentication. Choose the method that best aligns with your organization's security requirements.
In CloudQuery Platform, go to Data Pipelines → Integrations. Click Create Integration and type Github to find the Github integration.
Choose the method to authenticate.
For App authentication, you need to create a GitHub App and install it on your organization. GitHub App authentication provides higher rate limits and better security through fine-grained permissions. For detailed instructions, see the guide.
To set up:
Create a GitHub App in your organization:
Go to Organization Settings > GitHub Apps > New GitHub App
Configure the app with read-only permissions for the resources you need
Generate and download the private key
Install the app in your organization
Note down the following details:
App ID: Found in the app's settings
Installation ID: Found in the URL when viewing the app installation
Private key: The downloaded RSA key
Back in CloudQuery Platform, select the GitHub App Authentication and fill in the values from the previous step.
If using GitHub Enterprise, expand the GitHub Enterprise Configuration and provide the the base URL and upload URL.
Specify the repositories or the GitHub organization to sync from. Separate the names by spaces.
Click the Continue button to proceed to the selection of tables.
Select the tables to sync. To learn more about the tables and their schema, see the GitHub plugin documentation.
Click the Test and save button to test the connection and create the integration.
With your GitHub integration created, you can now proceed to use it in a new sync. This will give you the opportunity to specify when your GitHub sync should be run, and to which destination databases.