
Step-by-Step Integration Instructions for the Oobeya GitHub Application
Option 1: Using the Official Oobeya GitHub App
Utilize the official Oobeya GitHub App available on the GitHub Marketplace to seamlessly integrate Oobeya with your GitHub repositories and workflows. Simply install the application from the GitHub App Marketplace, grant the necessary permissions, and select the Oobeya GitHub App option when creating a data source within Oobeya. This straightforward approach ensures smooth integration and access to Oobeya's features. See the step-by-step integration guide below:
Step 1: Install the Oobeya GitHub App
Go to the Oobeya DORA Metrics GitHub App Marketplace page and install the application.
You will be prompted to choose which repositories to integrate with Oobeya. You can select all repositories or choose specific ones.
After selecting the repositories, grant the necessary permissions requested by Oobeya.

Oobeya DORA Metrics GitHub Application
Step 2: Create a Data Source in Oobeya
Navigate to the Oobeya Data Sources page. Look for the GitHub integration and select it.
When adding the data source in Oobeya, select "Oobeya GitHub App" as the "version".

Select Oobeya GitHub App Enter the name of the data source.
Click the "Request GitHub Permission" button.
Grant the required permissions on the GitHub website. Then you'll be redirected to the Oobeya screen.

Select the newly created data source from the list and click the "Test Connection" button to see if it works properly.

Test Connection
Option 2: Registering Your Own GitHub Application
Register your own GitHub Application to integrate with Oobeya for more flexibility and customization. By creating your own GitHub App, you can tailor the integration to suit your specific requirements and preferences. Navigate to your GitHub account settings, register a new GitHub App, configure the required permissions, and specify the Client ID and Client Secret within the Oobeya data source settings. This option offers greater control over the integration process, allowing you to manage the connection between Oobeya and GitHub according to your needs. See the step-by-step integration guide below:
Step 1: Create a New GitHub App
Navigate to the Settings page on GitHub.
To register an application for a personal account, click on the "Developer settings" tab.
To register an application for an Organization, go to the "Organizations" tab from the left menu, then click on the "Settings" button next to the organization name.
On the left menu, click on "Developer settings".
On the left menu, click on "GitHub Apps".
Click on the "New GitHub App" button.
Fill in the required fields (GitHub App name, Homepage URL, Callback URL) with your information.
For the Callback URL field, enter the following URL: {OOBEYA_DOMAIN}/api/platform/datasources/github (e.g., https://customer.oobeya.io/api/platform/datasources/github).
Click the "Save Changes" button to save your changes.
Open the "Permissions & events" tab from the left menu and select the following permissions as "Read-only" for the Actions, Administration, Code, Deployments, Issues, Members, Metadata, Organization Administration, Organization Events, Organization Projects, and Pull Requests.

Permissions for your own GitHub App
Step 2: Integrate the GitHub App with Oobeya
Navigate to the Oobeya Data Sources page. Look for the GitHub integration and select it.
When adding the data source for GitHub, select "GitHub Own GitHub App" as the "version".
Enter the GitHub App Client ID and Client Secret of the newly registered GitHub application.
Finally, click the "Request GitHub Permission" button to add the new data source.

Option 3: Using a GitHub App Installation Token
Integrate Oobeya with GitHub by using an Installation Token generated from your own GitHub App. With this option, Oobeya authenticates as the GitHub App installation itself — using the App ID, the Installation ID, and the App's private key (.pem) — instead of an OAuth flow or a user-based Personal Access Token.
This option is recommended when:
You do not want the integration to depend on a personal user account or a user's Personal Access Token.
You prefer server-to-server authentication with short-lived tokens that are refreshed automatically.
Your organization restricts OAuth callback URLs, or your Oobeya instance is not publicly reachable from GitHub.
See the step-by-step integration guide below:
Step 1: Create a New GitHub App (or use an existing one)
For this step, follow the same steps mentioned here.
Step 2: Get the Application ID
Open your GitHub App settings page.
Organization app example:
https://github.com/organizations/{ORGANIZATION}/settings/apps/{APP_NAME}(e.g., https://github.com/organizations/oobeyaio/settings/apps/oobeya-dora-metrics).Personal account app: Settings > Developer settings > GitHub Apps > click "Edit" next to your app.
On the "General" tab, find the "App ID" value in the "About" section (e.g.,
123456).,Copy this value; you will enter it into the Application ID field in Oobeya.

Step 3: Generate a Private Key (.pem)
On the GitHub App "General" tab, scroll down to the "Private keys" section.
Click the "Generate a private key" button.
GitHub will automatically download a
.pemfile to your computer. Store this file securely; you will upload it to Oobeya in Step 5.

Step 4: Install the GitHub App and Get the Installation ID
On your GitHub App settings page, click "Install App" from the left menu, then install the application on your organization or personal account.
You will be prompted to choose which repositories to integrate with Oobeya. You can select all repositories or choose specific ones.
Open the installation configuration page to read the Installation ID:
For an Organization: Organization Settings > GitHub Apps > click "Configure" next to the app.
For a personal account: Settings > Applications > Installed GitHub Apps > click "Configure" next to the app.
Check the browser address bar. The last number in the URL is your Installation ID:
https://github.com/organizations/{ORGANIZATION}/settings/installations/98765432In this example, the Installation ID is98765432.
Step 5: Create the Data Source in Oobeya
Navigate to the Oobeya Data Sources page. Look for the GitHub integration and select it.
When adding the data source for GitHub, select "GitHub Installation Token" as the "version".
Fill in the following fields:
Data Source Name: A descriptive name for the data source (e.g.,
GitHub - Oobeya Org).Application ID: The App ID you copied in Step 2 (e.g.,
123456).Installation ID: The Installation ID you copied in Step 4 (e.g.,
98765432).Private Key (.pem): Drag and drop the
.pemfile you downloaded in Step 3 into the upload area, or click the area to select the file.
Click the "Test Connection" button to verify that the credentials are valid.
Once the connection test is successful, click the "Add" button to save the data source.

Troubleshooting
If you encounter issues with the integration, check the permissions granted during the installation process. Ensure Oobeya has access to the necessary data.
Consult the Oobeya support documentation or contact the Oobeya support team or your assigned Customer Success Engineer for specific issues related to the Oobeya platform.
What's Next? 🎯
By following these instructions, you will be able to effortlessly integrate the Oobeya GitHub Application into your Oobeya account. This integration will greatly enhance your development workflow by providing you with valuable metrics and data, including DORA metrics and pull request metrics.
If you are not using Oobeya, feel free to contact us to learn more about Oobeya GitHub integration and explore Oobeya's powerful DORA Metrics tool.
Next Steps 🎯
Last updated