Indexing your repositories allows Devin to understand your codebase and enables powerful features like Ask Devin and DeepWiki. This quick guide walks you through the indexing process.
Repository indexing is separate from environment configuration. Indexing enables code search and understanding features, while environment configuration sets up Devin’s development environment.
Index Your Repository
- Go to app.devin.ai and ensure you’re logged into your organization
- Click on Settings in the sidebar to access your organization settings
- Select DeepWiki and scroll to the Repositories section, which lists the repositories your organization has already indexed
- Click Add
- In the Add repositories dialog, check every repository you want Devin to index, then click Add repositories
- Wait for indexing to complete — newly added repositories show Indexing… until they’re ready, which may take a few minutes depending on repository size
Devin indexes each repository’s default branch. To index additional branches, click a repository in the list to open its Indexed branches page, then use the Add branch dropdown to pick a branch.
Once complete, you’ll have access to:
- Ask Devin - Ask questions about your codebase and get detailed, accurate answers powered by advanced code search. You can also use Ask Devin to scope and plan tasks.
- DeepWiki - Explore auto-generated documentation for your repositories
For best results, index the branches your team actively develops on. This ensures Ask Devin and DeepWiki have the most up-to-date understanding of your code.