# AI Integration Quick Start Transform your 3X-UI Telegram bot into an intelligent assistant using Google's Gemini AI. ## 🚀 Quick Setup (5 minutes) ### 1. Get API Key Visit [Google AI Studio](https://makersuite.google.com/app/apikey) → Create API Key → Copy it ### 2. Configure ```bash # Add to database sqlite3 /etc/x-ui/x-ui.db < 30 # Check logs tail -f /var/log/x-ui/3xipl.log | grep "AI Service" ``` ### Disable AI ```bash sqlite3 /etc/x-ui/x-ui.db "UPDATE setting SET value = 'false' WHERE key = 'aiEnabled';" systemctl restart x-ui ``` ## 📚 Full Documentation See [AI_INTEGRATION.md](./AI_INTEGRATION.md) for: - Architecture details - API reference - Advanced features - Development guide ## 🎯 What's Supported | Feature | Status | |---------|--------| | Server status queries | ✅ | | Traffic/usage queries | ✅ | | Inbound management | ✅ | | Client information | ✅ | | Natural conversation | ✅ | | Multi-language | 🔜 Soon | | Voice messages | 🔜 Soon | | Proactive alerts | 🔜 Soon | ## 🤝 Contributing Found a bug? Want a feature? [Open an issue](https://github.com/mhsanaei/3x-ui/issues) --- **Built with ❤️ using Google Gemini AI**