Skip to main content
Use this prompt with your preferred AI assistant (Claude, ChatGPT, etc.) to automatically integrate Civic Auth into your Flask project.

Video Tutorial

Watch this step-by-step video guide on setting up Python Flask with Civic Auth using AI:
Can’t see the embedded video? Open on YouTube.

How to Use

  1. Copy the prompt below
  2. Paste it into your AI assistant
  3. The assistant will ask for your project details and guide you through the setup
  4. The assistant will fetch the complete documentation and implement the integration for you

Integration Prompt

Need help? If you encounter any issues during the LLM-assisted integration, you can always fall back to the manual Flask integration guide.

What the AI Assistant Will Do

When you use this prompt, the AI assistant will:
  1. Fetch the documentation using curl from the official Civic Auth docs
  2. Analyze your project structure and requirements
  3. Install dependencies and configure your Flask app
  4. Set up authentication blueprints and initialization
  5. Implement protected routes with proper user access
  6. Handle configuration for development and production environments
  7. Test the integration to ensure everything works correctly

Supported AI Assistants

This prompt has been tested with:
  • Claude (Anthropic)
  • Cursor (with Claude)
  • ChatGPT (OpenAI)
  • GitHub Copilot Chat
Make sure your AI assistant has the ability to run terminal commands and edit files in your project.