Overview
Once connected, you can ask Lane questions like:- “Is the new pricing tier already wired up in the codebase?”
- “How does our webhook handler work today?”
- “Find every place where we call the LemonSqueezy API.”
Connect
- Go to Settings → Integrations → GitHub.
- Click Connect and authorize the Lane GitHub App, selecting which repositories it can access on GitHub.
- Back in Lane, pick a default Organization, Repository, and Branch — this becomes the scope Lane reads from.
Permissions requested
The Lane GitHub App asks for two read-only permissions:- Contents: read — to read file contents.
- Metadata: read — to list branches and find files.
What Lane can do
With GitHub connected, Lane gains four read-only capabilities:
GitHub’s code search is rate-limited (about 30 requests per minute), so Lane favors one broad search over many narrow ones to stay well within it.
Using the integration
There’s no mode to switch on. Once connected, just ask Lane in any chat:- “Find where the priority score is calculated.”
- “Does this codebase handle Linear webhooks?”
- “Summarize what’s in
src/auth/and which files own session handling.”
Limits and good to know
- One repo at a time. Lane reads the repo and branch you’ve set as default; change it any time.
- Read-only. Lane never opens a PR, creates an issue, or commits. For that, use Cursor — it can build from a Plan and open a PR for you.
- GitHub rate limits apply. If you hit them, code search pauses briefly until the bucket refills.
- Disconnecting. Disconnect from Settings → Integrations → GitHub, or remove the Lane GitHub App from your GitHub organization settings to revoke at the source.
FAQs
Q: Can Lane write to my repo?A: No. The integration is read-only — no commits, no PRs, no issues. Q: Can I connect more than one repository?
A: Lane reads a single default repo and branch. Switch the default in Settings whenever you need to look at a different repo. Q: Does it work on private repos?
A: Yes, as long as the Lane GitHub App has been granted access to that repo on GitHub. Q: Who can see what Lane finds in the repo?
A: Only people in your Lane workspace who have access to the chat or Plan where the code was referenced. Lane doesn’t expose the repo more broadly than it already is.
