# Connect GitHub

Let a cloud diagnosis and the Slack bot read your workflow runs, commits, pull requests and deployments. Tellagen only reads, and your code stays out unless an admin allows it.

You install the Tellagen GitHub App on the repositories you choose. A local diagnosis on GitHub.com also reads a pasted run, commit or pull request link through the app when the app covers that repository.

## Before you start

### Intended audience

Workspace admins who want cloud diagnosis to read GitHub.

### Required permissions

You need permission to manage settings to connect GitHub. Only an admin changes the two switches, disconnects or connects GitHub Enterprise. The GitHub account that installs the app must own the GitHub organization.


## Procedure

<a id="step-connect-the-app"></a>

1. **Install the app.** Go to **Settings** → **Integrations** and select **Connect GitHub** on the **GitHub** card. GitHub opens its install page.

   Not an owner of the organization? Your install goes to an owner as a request. Select **Connect GitHub** again once they've installed the app.

<a id="step-connect-enterprise"></a>

2. **Use GitHub Enterprise instead (optional).** On the same card, choose **GitHub Enterprise Server or GHE.com**. Enter the **Server address**, which starts with https://, and the **Organization**, or leave it empty for your own account. Then select **Create the app on your server**.

   Finish on your server within 1 hour, then select **Install the app**. Tellagen must reach the server from the internet.

<a id="step-choose-repositories"></a>

3. **Choose the repositories.** On GitHub, pick the account and the repositories the app may read, then approve the install. Back in Tellagen, they're listed under **Repositories**. To change them later, select **Change repositories on GitHub**.

   A cloud diagnosis reads only covered repositories that the incident's services name.

<a id="step-decide-about-code"></a>

4. **Decide whether a diagnosis may read code.** The switch **Let diagnosis read code** starts off. With it off, a diagnosis can't read a commit, a compare, a release or a file. With it on, it can, and that code goes to the AI model. The audit log records each change.

<a id="step-check-access-in-slack"></a>

5. **Decide who sees private repositories in Slack.** The switch **Check GitHub access for each person in Slack** starts on. The Slack bot then shows details of a private repository only to a person whose own GitHub account can see it.

   Each person connects their account once, in **Your connections** → **Connect GitHub account** or on this card. Slack also asks them when they first need it.

<a id="step-disconnect"></a>

6. **Disconnect when you're done.** Select **Disconnect** and confirm. Tellagen stops reading GitHub. The app stays installed until an owner selects **Remove the app on GitHub** and removes it there. On GitHub Enterprise, an owner deletes the app on the server.

## What happens next

- A cloud diagnosis reads the runs, pull requests and deployments of the incident's repositories.
- In Slack, a mention under a GitHub Actions alert gets the failing step and how often the workflow passed. A pull request or commit link pasted in an incident channel gets a summary with **Add to timeline**.
- Merged pull requests, ended deployments, releases and failed runs on the default branch show up as timeline suggestions for incidents of the same services. A person adds them.

## FAQs

<a id="troubleshooting-can-the-app-change-anything-in-github"></a>

### Can the app change anything in GitHub?

No. It reads, with read permission only: Metadata, Actions, Checks, Commit statuses, Pull requests, Deployments and Contents. Contents covers commits, compares, releases and files at a commit, and Tellagen reads it only when **Let diagnosis read code** is on.

<a id="troubleshooting-our-organization-has-an-ip-allow-list-what-do-we-allow"></a>

### Our organization has an IP allow list. What do we allow?

An owner turns on IP allow list configuration for installed GitHub Apps. The app calls GitHub from 168.119.61.243, 46.62.150.124 and 46.225.59.119.

<a id="troubleshooting-the-card-says-waiting-for-approval-what-now"></a>

### The card says “Waiting for approval”. What now?

The app asked for new permissions, and an owner hasn't approved them yet. Select **Open the request on GitHub** and ask an owner to approve. Reads keep working with the permissions approved before.

<a id="troubleshooting-tellagen-says-it-could-not-connect-this-installation-why"></a>

### Tellagen says it “could not connect this installation”. Why?

Usually your GitHub account doesn't own the organization. Select **Connect GitHub** again while signed in to GitHub as an owner. If the card says it can't check who owns the organization, an owner approves the app's Members: read permission. If it names single sign-on, sign in through it first.

<a id="troubleshooting-the-card-says-the-app-was-removed-or-suspended-how-do-i-fix-it"></a>

### The card says the app was removed or suspended. How do I fix it?

An owner removed or suspended the app on GitHub. Turn it back on there, or select **Install again**.

## Related articles

- **Recommended next task:** [What Tellagen receives in a cloud diagnosis](https://tellagen.com/help/what-tellagen-receives-in-a-cloud-diagnosis)
- [Add GitHub to a local diagnosis](https://tellagen.com/help/add-github-to-a-local-diagnosis)
- [Investigate an alert from Slack](https://tellagen.com/help/investigate-an-alert-from-slack)


## Continue through the incident lifecycle

- **Previous task:** [Write runbooks for Diagnosis](https://tellagen.com/help/write-runbooks-for-diagnosis)
- **Next task:** [Install the proxy with Docker, Compose or Helm](https://tellagen.com/help/install-the-proxy)
- [Back to Support Center](https://tellagen.com/help#help-search)

## Updated

2026-11-26
