Set Up Clean
Connect your repos and get Clean running through the dashboard.
After signing up, the dashboard walks you through a four-step onboarding flow. You can access it at any time from tryclean.ai/dashboard/onboarding.
Step 1: Install the GitHub App
Click Install GitHub App to grant Clean read-only access to your repositories. You choose exactly which repos to share. Clean never writes to or modifies your code.
Once you complete the GitHub authorization, the page updates automatically.
Step 2: Select repos to index
Choose the repositories you want Clean to search. The number of repos you can index depends on your plan:
| Plan | Repos |
|---|---|
| Free | 3 |
| Pro | 15 |
| Max / Enterprise | Unlimited |
Step 3: Wait for indexing
Clean clones your repos, parses them with tree-sitter, and embeds every function and class. This typically takes 1-5 minutes per repo depending on size.
You'll see live progress in the dashboard. Once all repos show Done, you'll move to the next step automatically.
Step 4: Copy your MCP config
The dashboard shows a ready-to-use config block for your agent. Select your agent from the tabs (Claude Code, Cursor, Claude Desktop, Antigravity, Codex) and either:
- Run the terminal command: pastes the config into the right file for you (recommended)
- Copy the JSON/TOML config: add it manually if you have other MCP servers to preserve
Your API key is included in the config automatically.