This article considers the integration of Artificial Intelligence (AI) in the teaching of Spanish as a foreign language (ELE) through an analysis of both its didactic potential and the methodological challenges it presents. Through a descriptive study of AI-assisted teaching planning, the sequencing of activities and the creation of teaching materials adapted to the ELE area are contemplated, paying special attention to the progression of content and methodological coherence in the curricular design. The research proposes a methodological framework that combines traditional learning with AI systems, establishing specific guidelines for its implementation in the Spanish classroom. The results suggest that responsible integration of AI can significantly enhance personalization of learning and immediate feedback. It concludes with a practical proposal that includes guidelines for teachers, highlighting the importance of maintaining a balance between technological innovation and the fundamental principles of language teaching.