GitHub
GitHub is a website and cloud-based service for code hosting, version control, and collaboration. It helps developers store and manage their code, as well as track and control changes to their code.
In order to integrate Github with Relyance AI you will need to create an Oauth2 / App Token link from within Relyance AI.
Permissions Relyance needs
GitHub has one method, Oauth2 / App Token, and the authorisation requests:
| Scope | Used for |
|---|---|
repo |
reading repository content and metadata |
read:org |
listing the organisation's repositories and teams |
read:user, user:email |
identifying the authorising account |
manage_billing:copilot |
reading Copilot seat assignment for AI discovery |
repo is broad: GitHub does not offer a read-only variant, so granting it
conveys write access to every repository the authorising account can reach, even
though Relyance only reads. Authorise as an account whose repository access
matches what you intend to scan — the connection can see exactly what that
account can see, no more and no less. For source-code scanning specifically, the
Source Code Integration
runs in your CI instead and needs no GitHub credential at all.
In the Relyance AI application:
- Login to your Relyance account.
- Navigate to the Settings (bottom-left corner).
- Select Integrations.
- Search and locate the GitHub integration card and click on it.
- Click on the Add Connection button on the top right
- Provide a meaningful name for the integration and click on the Add button
- In the Overview section, select the integration features you wish to enable for the integration, review the Scope and Permission, and Endpoint details and click on Continue. For more details, see Integration Features
- In the Connection section, provide the appropriate values and click on Continue,

- In the Authentication section, select Oauth2/App Token and click on continue. If prompted sign into Github. The new page will request Authorization for Relyance to connect with Github.

Note: you may need to request Organization access on this page in order to share organizational repositories with Relyance AI.

Click Authorize relyance-integrationtest. 10. Review the configuration summary from the Completion section and click on Finish. 11. Confirm the integration Status reflects Connected


Manage this integration with Terraform
Connections for this integration can be managed as code with the Relyance Terraform provider. Non-secret fields go in auth.params; secret fields go in auth.secrets_wo, which is write-only — never stored in Terraform state. Rotate secrets by bumping auth.secrets_wo_version.
The OAuth (browser authorization) method uses a browser authorization flow, so the connection is created in the Relyance app. Manage it in Terraform afterwards by importing it (terraform import relyance_integration_connection.example github/<connection_id>) or reading it with the relyance_integration_connection data source.