Connecting a repository
Connect a GitHub repository to your project to make its code available to the AI chat and to mirror documentation from the repo. GitHub is supported today.
Creating an access token
- Create a fine-grained Personal Access Token (PAT) on GitHub.
- Grant it access to exactly the repository you want.
- Give it only the Contents: Read permission — Lalabase needs nothing more.
Connecting the repository
- Open the project settings and click Connect repository in the Chat with your code or Show documentation card.
- Enter the name as
owner/name, e.g.acme/backend. - Paste the Personal Access Token and confirm with Connect.
- Lalabase validates the token against GitHub and then starts indexing automatically.
Token expired?
When a PAT expires, add a new one via "Update access token" — the existing index is preserved. For automatic updates on every push, optionally set up a webhook.
What's next
Once the repository is indexed, you can use code context in the AI chat or write and sync documentation locally.