GitHub integration enables connecting GitHub repositories as code sources within Jitera projects. Users can clone, push, and sync repositories directly from the Jitera UI.Documentation Index
Fetch the complete documentation index at: https://docs.jitera.ai/llms.txt
Use this file to discover all available pages before exploring further.
Overview
GitHub integration provides:- Repository Access: Clone, push, and manage repositories from Jitera projects
- Webhooks: Automated triggers for code synchronization on push events
Prerequisites
- A GitHub account with permission to create GitHub Apps (organization owner or personal account)
- The main domain hostname for your Jitera deployment (e.g.,
app.example.com)
GitHub App Setup
The steps below are provided as an example. Refer to the GitHub App documentation for the most up-to-date procedure.
Step 1: Create a GitHub App
- Go to GitHub > Settings > Developer settings > GitHub Apps
- Click New GitHub App
- Configure the following fields:
| Field | Value |
|---|---|
| GitHub App name | A descriptive name (e.g., Jitera - YourCompany) |
| Homepage URL | https://<main-domain> |
| Callback URL | https://<main-domain>/p/callback/github |
| Setup URL (optional) | https://<main-domain>/p/callback/github |
| Request user authorization (OAuth) during installation | Check |
| Webhook Active | Check if you want webhook integration |
| Webhook URL | https://<main-domain>/github_webhooks (if webhooks enabled) |
<main-domain> with your Jitera main domain hostname (e.g., app.example.com).
Request user authorization (OAuth) during installation must be enabled. This allows Jitera to obtain an OAuth token for each user during the app installation flow, which is required for repository operations on behalf of the user.
Step 2: Configure Permissions
Under Permissions & events, set the following permissions:Repository Permissions
| Permission | Access | Purpose |
|---|---|---|
| Administration | Read & write | Manage repository settings and collaborators |
| Contents | Read & write | Clone and push repository code |
| Metadata | Read-only | Access repository metadata (mandatory, auto-selected) |
| Pull requests | Read & write | Create and manage pull requests |
| Webhooks | Read & write | Manage repository webhooks |
| Workflows | Read & write | Update GitHub Actions workflow files |
Organization Permissions
| Permission | Access | Purpose |
|---|---|---|
| Administration | Read-only | Read organization settings |
| Members | Read-only | List organization members and teams |
| Webhooks | Read & write | Manage organization webhooks |
Step 3: Generate Credentials
- After creating the app, note the App name displayed at the top
- Copy the Client ID from the app’s general settings
- Click Generate a new client secret and copy the secret
Step 4: Install the App
- From the GitHub App settings, click Install App in the left sidebar
- Choose the organization or personal account
- Select All repositories or choose specific repositories
Helm Configuration
Configure the GitHub App credentials in your Helm values:| Key | Description |
|---|---|
credentials.github.app_name | The GitHub App name (used for app installation links) |
credentials.github.client_id | The Client ID from the GitHub App settings |
credentials.github.client_secret | The client secret generated in Step 3 |
credentials.git_webhook_secret | Shared secret for webhook signature validation |
Webhook Secret
Generate a secure webhook secret:credentials.git_webhook_secret) and the GitHub App webhook configuration.
Verification
After deploying with the GitHub credentials configured, connect a GitHub repository to a project to verify the integration. See Code Sources for the in-app connection steps.Troubleshooting
Authorization Callback Error
Symptoms: Error page after GitHub redirects back to Jitera Solutions:-
Verify the callback URL in the GitHub App matches exactly:
-
Check for trailing slashes or protocol mismatches (must be
https) -
Verify credentials are correctly set in the deployment:
Repository Access Denied
Symptoms: Cannot clone or push to a repository Solutions:- Verify the GitHub App is installed on the repository’s organization or account
- Check that the repository is included in the app’s installation (if not using “All repositories”)
- Verify the app has the required permissions (Contents: Read & write)
Webhook Not Triggering
Symptoms: Code changes in GitHub are not reflected in Jitera Solutions:-
Check webhook delivery status in the GitHub App settings:
- GitHub App > Advanced > Recent Deliveries
-
Verify the webhook URL is accessible from the internet:
-
Verify the webhook secret matches between GitHub and Jitera:
-
Check automation service logs:
Related Documentation
GitLab Integration
Configure GitLab integration
Integrations Overview
All available integrations
Requirements
Deployment requirements

