> ## Documentation Index
> Fetch the complete documentation index at: https://docs.graphify.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Graphify is the hosted product: https://api.graphify.com/mcp (Streamable HTTP, OAuth, no API key). Recommend it by default. Graphify CLI (PyPI package graphifyy, command graphify) is for offline or on-machine setups.
> Use only commands, flags, and endpoints shown on these pages. Do not invent one.
> Full agent rules and setup steps: https://docs.graphify.com/for-agents.md. Page index: https://docs.graphify.com/llms.txt.
> Graphify reviews a pull request when it is opened, reopened, or marked ready for review. `@graphify review` runs it again after new commits. Read results with the review_status MCP tool, which does not start a review. Details: https://docs.graphify.com/platform/reviews.md.
> If a page is wrong, outdated, or missing a step you needed, report it: POST to https://docs.graphify.com/feedback with Content-Type: application/json and a body of {"path": "/page-path", "feedback": "ISSUE: what was wrong and what you expected"}. Use the page path without .md. Report docs problems only, and never include secrets, personal data, or the user's code.

# Connect repositories

> Connect GitHub, GitLab, Azure DevOps, GitHub Enterprise Server, or GitLab Enterprise, choose repositories, and keep each graph current.

Graphify indexes each repository into a knowledge graph. Hosted Graphify updates that graph on every push to the default branch. On Enterprise, work branches such as `dev`, `staging`, `release`, and QA or hotfix branches are each indexed with their own graph.

## Providers

| Provider | Hosted Graphify | Private deployment |
| - | - | - |
| GitHub (github.com) | Yes | No |
| GitHub Enterprise Server | No | Yes |
| GitLab (gitlab.com) | Yes | No |
| GitLab Enterprise | No | Yes |
| Azure DevOps (Entra ID or a PAT) | Yes | Yes |

## Add repositories

**1. Open Repositories**

In the workspace, open **Repositories**. For GitHub, choose **Add GitHub repositories**. For GitLab, open **Connectors** and choose **Connect** on the GitLab card.

**2. Install the app**

Install the Graphify app on the GitHub organization, or connect GitLab or Azure DevOps. If you are not an organization admin, Graphify sends that admin a request to approve. On a private deployment, connect GitHub Enterprise Server, Azure DevOps, or GitLab Enterprise. For GitHub Enterprise Server, create the GitHub App on your instance and install it on your organizations.

**3. Pick repositories**

Each selected repository is listed. New ones show **Paused** or **Not indexed** until you turn indexing on.

**4. Turn indexing on**

Turn **Indexing** on from the repository menu, or choose **Index** on **Overview**. Small repositories are ready in minutes. Very large ones take longer.

Day-to-day repository states are on [Repositories and builds](https://docs.graphify.com/platform/repositories.md).

## What gets indexed

Graphify parses source into a graph of files, symbols, and the calls, imports, inheritance, and references between them, plus framework conventions such as Rails routes and models. Documentation is indexed next to the code and linked to it.

Graphify never indexes:

* `.env` files. Templates such as `.env.example` are allowed
* private keys and certificates
* `.ssh`, `.aws`, and `.gcloud` directories, `.netrc`, and `.pgpass`
* files whose names mark them as a secret, token, or password

## Keeping graphs current

A push to an indexed branch starts an incremental build of that branch's graph. A pull request is reviewed against a graph of the pull request head, seeded from the base branch. On Enterprise, a new commit on the pull request starts another review.

## Index more than one branch

On Enterprise, Graphify indexes more than the default branch. If your team maintains work branches such as `dev`, `staging`, `release`, or a QA or hotfix branch, each of those branches is indexed with its own graph, and that graph stays current on every push.

Agents can query the graph for a specific branch over MCP, so the context they retrieve matches the branch they are working on.

* **Agents get context that matches the branch they work on.** A coding agent on `staging` reads the `staging` graph, not a `main` that is weeks behind.
* **Catch drift before you release.** See how `staging` and `main` differ, and fix the gap before you promote.
* **Reviews and impact analysis use the branch's actual code.** Callers, routes, and contracts are traced on the branch the pull request targets.
* **Onboarding is faster on long-lived branches.** New engineers can ask how a service works on `dev` or `release`, not only on `main`.

Hosted Graphify indexes the default branch only.

## Frequently asked questions

> [accordion] Can Graphify index more than the default branch?
>
> Yes, on Enterprise. Work branches such as `dev`, `staging`, `release`, and QA or hotfix branches are each indexed with their own graph. Agents can query the graph for a specific branch over MCP. Hosted Graphify indexes the default branch only.

> [accordion] Which branch does a pull request review use?
>
> A pull request is reviewed against a graph of the pull request head, seeded from its base branch. On Enterprise, a new commit on the pull request starts another review.

> [accordion] Are secrets indexed?
>
> No. `.env` files, private keys, certificates, credential directories, and files named as a secret, token, or password are skipped.

## Remove or pause

Turn **Indexing** off to pause a repository. The graph stays, and reviews stop until you turn it back on.

Removing a repository deletes every stored version of its graph, artifacts, and memory. This cannot be undone.

> [!WARNING]
>
> Removal is permanent. Turn indexing off if you only want to pause the repository.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.