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

# Overview

# AI-Assisted Integration

Use AI assistants like Claude, Cursor, or other LLMs to automatically integrate Civic Auth into your project. These prompts provide step-by-step instructions that AI assistants can follow to implement authentication in your application.

<Tip>
  Looking to connect an AI agent to Civic? See the [AI Integration Prompt](/civic/quickstart/ai-prompt) in the Civic quickstart guide.
</Tip>

## Available Framework Prompts

<CardGroup cols={2}>
  <Card title="Next.js" href="/ai-prompts/nextjs" icon="js">
    AI prompts for Next.js authentication integration
  </Card>

  <Card title="React" href="/ai-prompts/react" icon="react">
    AI prompts for React authentication integration
  </Card>
</CardGroup>

## Python AI Prompts

<CardGroup cols={3}>
  <Card title="Django" href="/ai-prompts/python/django" icon="layer-group">
    AI prompts for Django authentication integration
  </Card>

  <Card title="FastAPI" href="/ai-prompts/python/fastapi" icon="bolt">
    AI prompts for FastAPI authentication integration
  </Card>

  <Card title="Flask" href="/ai-prompts/python/flask" icon="fire">
    AI prompts for Flask authentication integration
  </Card>
</CardGroup>

## Web3 AI Prompts

<CardGroup cols={2}>
  <Card title="Solana" href="/ai-prompts/web3/solana" icon="wallet">
    Add Solana embedded wallet functionality to existing Civic Auth projects
  </Card>

  <Card title="Ethereum" href="/ai-prompts/web3/ethereum" icon="wallet">
    Add Ethereum/EVM embedded wallet functionality to existing Civic Auth projects
  </Card>
</CardGroup>

## How to Use These Prompts

### For New Projects

1. **Choose your framework** and use the appropriate prompt:
   * **Frontend**: [React](/ai-prompts/react) or [Next.js](/ai-prompts/nextjs)
   * **Python Backend**: [Django](/ai-prompts/python/django), [FastAPI](/ai-prompts/python/fastapi), or [Flask](/ai-prompts/python/flask)
2. **Add Web3 functionality** (optional) using [Solana](/ai-prompts/web3/solana) or [Ethereum](/ai-prompts/web3/ethereum) prompts
3. **Copy the appropriate prompt** and paste it into your AI assistant
4. **Follow the AI's step-by-step instructions**

### For Existing Projects

1. **Add Web3 functionality** to your existing Civic Auth integration using the blockchain-specific prompts
2. **Choose your blockchain platform**: [Solana](/ai-prompts/web3/solana) or [Ethereum/EVM](/ai-prompts/web3/ethereum)
3. **Copy the appropriate prompt** and paste it into your AI assistant

## Web3 Integration Features

Our focused embedded wallet prompts provide:

* **Prerequisites Checking**: Ensures basic Civic Auth is set up first
* **Embedded Wallets**: Automatically create non-custodial wallets for users
* **Platform-Specific**: Dedicated prompts for Solana and Ethereum/EVM chains
* **Wallet Adapters**: Proper integration with Solana Wallet Adapter and Wagmi
* **Transaction Handling**: Send transactions and check balances
* **Multi-Chain Support**: For Ethereum, support multiple EVM networks

## Benefits of AI-Assisted Integration

* **Faster setup** - Let AI handle the boilerplate code
* **Fewer errors** - AI follows tested patterns and best practices
* **Modular approach** - Separate prompts for authentication and Web3 features
* **Customization** - AI can adapt the integration to your specific needs
* **Learning** - Understand the integration process as AI explains each step

## Tips for Best Results

<Tip>
  Make sure to mention your specific project structure and requirements when using the prompts. For Web3 projects, start with basic authentication first, then add embedded wallet functionality using the dedicated prompts.
</Tip>

<Warning>
  Always review the AI-generated code before implementing it in production. While these prompts are designed to produce working code, it's important to understand what's being added to your project, especially for Web3 integrations involving wallet management.
</Warning>

## Best Practices

* **Start simple**: Use basic authentication prompts first, then add Web3 features
* **One feature at a time**: Don't try to implement everything at once
* **Customize the prompts**: These prompts are starting points. Modify them based on your specific requirements
* **Keep them updated**: As you discover patterns that work well, update your prompts
* **Version control**: Store your prompts in your repository so your team can benefit from them
* **Security first**: Always review AI-generated code for security best practices, especially for Web3 wallet integrations
* **Test thoroughly**: For Web3 integrations, test wallet creation, transactions, and error handling on testnets first

## Need Manual Integration?

If you prefer to integrate manually or need more control over the process, check out our [Integration guides](/integration) for step-by-step instructions.
