Projecten

Repository Verbinden

Verbind je GitHub repository of gebruik een managed repository.

3 min leestijd

Connect your existing GitHub repository to TurtleApps for AI-powered development in your own codebase. This guide covers the setup process and best practices.

Prerequisites

  • A GitHub account with repository access
  • TurtleApps Professional plan or higher
  • Repository with at least one branch

Connecting GitHub

1

Install GitHub App

Go to Settings → Integrations → GitHub and click "Connect GitHub". You'll be redirected to GitHub to install our app.

GitHub integration button

[Screenshot placeholder]

2

Select Repositories

Choose which repositories TurtleApps can access:

  • All repositories — Access all current and future repos
  • Select repositories — Choose specific repos only

Least Privilege

We recommend selecting only the repositories you need. You can always add more later.

3

Link to Project

Back in TurtleApps, go to your project settings and select the connected repository from the dropdown.

Required Permissions

TurtleApps requires the following GitHub permissions:

PermissionPurpose
Contents (Read & Write)Read code and commit changes
Pull Requests (Read & Write)Create and update PRs
Metadata (Read)Access repo information
Webhooks (Read & Write)Receive push notifications

Repository Structure

For best results, your repository should have:

Recommended structure
my-project/
├── src/           # Source code
├── package.json   # Dependencies (Node.js)
├── .gitignore     # Ignored files
├── README.md      # Project documentation
└── .env.example   # Environment variables template

Branch Strategy

TurtleApps works with your existing branch strategy:

Default Behavior

  1. AI creates a new branch from your default branch
  2. Changes are committed to the feature branch
  3. A pull request is created automatically
  4. After approval, the PR is merged

Branch Naming

AI-created branches follow this pattern:

turtle/ticket-123-add-contact-form

💡Custom Prefix

You can change the branch prefix in Project Settings → Repository → Branch Prefix.

Troubleshooting

Repository not showing up?

  • Make sure you've installed the GitHub App
  • Check that the repository is selected in the GitHub App settings
  • Try disconnecting and reconnecting GitHub

Permission errors?

  • Verify you have admin access to the repository
  • Check that branch protection rules allow our bot to push

Was dit artikel nuttig?