Delv
Greptile
Getting Started Guide

How to Use Greptile

A practical guide to get you up and running with Greptile. Written by Delv Editorial, Delv Team.

Getting started with Greptile

In this guide, you'll learn how to set up Greptile for AI-driven code reviews, enabling you to receive context-aware feedback on your code changes. You'll be ready to enhance your pull request reviews in just a few minutes.

Step 1: Sign up and set up

  1. Go to Greptile's website.
  2. Click on the Sign Up button located at the top right corner.
  3. Fill in your details and create an account. If there’s a free trial available, you’ll be prompted to select it during registration.
  4. Once registered, log in to your account and navigate to the Settings menu to configure your repository access.

Step 2: Your first code review

  1. Make sure your code repository is connected. In the Settings menu, select Integrations and link your version control system (like GitHub or GitLab).
  2. After integration, go to your repository and create a pull request (PR) as you normally would.
  3. Open the PR and look for the Review with Greptile button. Click it to initiate the AI review.
  4. Greptile will index your repository and provide feedback on the changes in context. Review the suggestions presented in the Greptile sidebar.

Step 3: Get better results

  1. To improve the quality of feedback, ensure your code is well-documented. Use comments to explain complex logic.
  2. Regularly update your repository in Greptile by clicking the Re-index button in the Settings menu. This ensures that the AI has the most current context.
  3. Experiment with different sections of your code by submitting smaller PRs to get more focused feedback.

Pro tip

Use the Feedback History feature in Greptile to track changes in suggestions over time. This helps you see how the AI’s recommendations evolve as your codebase changes.

Common mistake to avoid

Avoid skipping the repository indexing step. If your codebase isn't fully indexed, Greptile won't provide context-aware feedback, leading to incomplete reviews. Always ensure indexing is up to date before initiating a review.