Guide

Integrating a codebase with Faction.

Give your team governed access to live GitHub repos. Add a codebase once, install the Faction GitHub App on that repository, and search code from chat without cloning on every laptop.

Start free

Live code access

Your repo, searchable from team chat.

Faction connects GitHub repositories through a per-repo GitHub App. AI searches and reads live files on the default branch using path rules admins set, whether teammates chat in Faction or connect an external AI app to the workspace MCP URL.

01

Add a codebase in Resources

Go to Resources, then Codebases. Enter owner/repo, set a default branch, and optionally allow or deny paths so AI only reads the directories you intend.

02

Install the Faction GitHub App on that repo

Authorize Faction for that repository only. Each codebase gets its own install so access stays scoped to the repo and path rules you configured.

03

Attach it to a workspace

Open the workspace Codebases tab and add the codebase from your org library. Bundle it with documents or other integrations the team needs, then assign members.

04

Search and read from chat

Teammates ask questions, search code, and read files through Faction's native code tools in chat or through the workspace MCP URL in Cursor or Claude.

Use cases

  • Onboarding to a large repo

    New engineers search for auth patterns, config conventions, and service boundaries instead of paging a teammate for every file path.

  • Implementation research

    Search live code for how a feature works, then read the exact files. No local clone and no stale snapshot from last week.

  • Product and engineering alignment

    Attach the product repo next to Notion specs and customer feedback so PMs and engineers reference the same implementation details.

  • Scoped repo access

    Limit AI to docs/, packages/api/, or other paths when a workspace should not expose the full repository.

See it in chat

Search code and read files live.

Faction searches attached repos and reads individual files on demand. Same codebase bundle, same path rules, in app or in Cursor.

Chat
Where do we validate session tokens in acme-api?
acme-apiEngineering runbook

Give your team governed access to live code.

Add the codebases your workspace needs, install the GitHub App on each repo, and let everyone search code with the path rules you set.

Start free