> ## Documentation Index
> Fetch the complete documentation index at: https://docs.potpie.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Quickstart

> Start using Potpie for your codebase in four steps.

<Steps>
  <Step title="Sign up and connect your repository">
    Create your <a href="https://app.potpie.ai" className="mode-link" target="_blank" rel="noopener noreferrer">Potpie account</a> and connect your GitHub account to allow Potpie AI agents access your codebases.

    <img src="https://mintcdn.com/potpieai/gJ4EwDE1Ctkm-zsd/images/GithubSignup.png?fit=max&auto=format&n=gJ4EwDE1Ctkm-zsd&q=85&s=580e9ae28d2a74d8f9fa51e92af8b6cd" alt="Sign Up Page" width="2934" height="1660" data-path="images/GithubSignup.png" />
  </Step>

  <Step title="Select the repository you want to work on.">
    <img src="https://mintcdn.com/potpieai/mL-zadSWO8WMT-qU/images/repo-select.png?fit=max&auto=format&n=mL-zadSWO8WMT-qU&q=85&s=9427aa6dc73f946ea4bd977f26ccc5fe" alt="Repository Selection" width="1438" height="787" data-path="images/repo-select.png" />

    Once the repo is selected, Potpie captures your entire codebase in a **graphical index** which captures all the cannonical relationships(`classes`, `interfaces`, `files`, and `functions`) present in the codebase and performs [inference](/concepts/inference) at every abstraction level.
  </Step>

  <Step title="Start a conversation">
    Start a conversation with your indexed codebase.

    <img src="https://mintcdn.com/potpieai/gJ4EwDE1Ctkm-zsd/images/agent-select.png?fit=max&auto=format&n=gJ4EwDE1Ctkm-zsd&q=85&s=483f1db911af7185973dea9a7d1a8214" alt="Select a Mode" width="1438" height="815" data-path="images/agent-select.png" />

    Potpie offers different agents/modes depending on your task. Each mode utilizes the same codebase graph but is optimized for a specialized task.
    You can explore more about these modes here:

    <CardGroup cols={3}>
      <Card title="Ask a Question" href="/build-flow/ask-a-question">
        Cited and precise graph answers.
      </Card>

      <Card title="Build a Feature" href="/build-flow/build-a-feature">
        Builds that adapt to the codebase.
      </Card>

      <Card title="Debug an Issue" href="/build-flow/debug-an-issue">
        Root cause traced through the graph.
      </Card>
    </CardGroup>
  </Step>
</Steps>

## Next Steps

* [Tutorial: Make Your First Query](/tutorials/explore-your-codebase) - Learn how to ask questions and explore your codebase.
* [Tutorial: Make Code Changes](/tutorials/make-code-changes) - Use the Build agent to make code changes with codebase awareness.
* [Concepts: Knowledge Graph](/concepts/knowledge-graph) - Understand how Potpie analyzes your codebase.
* [API Reference](/api-reference/overview) - Integrate Potpie agents into your workflow programmatically.
