AI Workflow Guide¶
Overview¶
This guide describes the recommended workflow for using Cortex AI in your development process.
Getting Started¶
1. Connect Your IDE¶
- Install the Cortex VS Code extension
- Configure your API endpoint in settings
- Authenticate via Zitadel SSO
2. Index Your Codebase¶
3. Start Asking Questions¶
Use natural language queries to search your codebase: - "Where is user authentication implemented?" - "Show me all database migrations" - "How does the payment processing work?"
Best Practices¶
Context-Aware Queries¶
Be specific about what you're looking for: - ❌ "Fix the bug" - ✅ "Find where the null pointer exception occurs in UserService"
Using MCP with Claude Desktop¶
- Configure Claude Desktop with Cortex MCP endpoint
- Use
search_codebasetool for context retrieval - Use
edit_filefor AI-assisted code changes
Commit Workflow¶
- Make changes with AI assistance
- Review all changes before committing
- Use conventional commit messages
Troubleshooting¶
See Known Issues for common problems and solutions.