GitHub
Connect a GitHub organization to Octic through a dedicated, organization-owned GitHub App with read-only access to the repositories you pick.
This page connects one GitHub organization to Octic. Octic creates a dedicated GitHub App inside your organization, you install it on the repositories you choose, and Octic syncs them. No personal access token is involved.
- The organization and its members, to attribute ownership to teams and people.
- The repositories the App is installed on.
- The packages those repositories publish, and their latest releases.
Octic also maps the relationships between them, such as a repository and the packages it publishes.
Connecting runs GitHub's App manifest flow. Octic hands GitHub a pre-filled manifest, and GitHub creates a private App owned by your organization, named Octic followed by your workspace's slug and a short random suffix. The App asks for read access only and subscribes to no webhook events:
| GitHub permission | Access | Why |
|---|---|---|
| Metadata | Read | List repositories and their attributes. |
| Members | Read | Attribute ownership to teams and people. |
| Contents | Read | Read releases and tags. |
| Packages | Read | Catalog the packages you publish. |
The App's private key is encrypted at rest. Octic mints a short-lived installation token for each sync and stores nothing long-lived beyond the key.
- You're the owner of the Octic workspace.
- You're an owner of the GitHub organization. GitHub enforces this when the App is created.
- You know the organization's login, the name in its URL on github.com.
Open the setup
Open Integrations, choose GitHub, then choose Connect. The Setup tab lists the checklist and the four steps of the hand-off to GitHub.

Name your GitHub organization
Under Connect your organization, enter the organization's login in GitHub organization, for example
acme-corp. Choose Continue to GitHub.
Create the App on GitHub
GitHub opens its Create GitHub App page for your organization with the manifest filled in. Create the App.
Install it and choose repositories
GitHub asks where to install the App. Choose All repositories or Only select repositories and pick them, then install. You can change the selection on GitHub at any time.
Run the first sync
GitHub returns you to the integration's Settings tab with the notice GitHub is connected. Choose Sync now on the organization's card to run the first sync.
To connect another organization, choose Connect another and repeat the steps. Each organization gets its own App and its own connection.
Open the Settings tab. The organization's card shows its account ID, the installation number, whether the App covers all or selected repositories, when it was last verified, and the permissions GitHub granted. Use Verify, Sync now and Disconnect there, and check Recent syncs below. After the first sync, Octic syncs the organization every 6 hours. See Manage a connection.
Choose Disconnect on the organization's card on Settings. Octic stops syncing the organization, keeps what it already found, and tries to uninstall the App from the organization. If the App is still listed in the organization's settings on GitHub afterwards, delete it there.
Last updated
Was this page helpful?

