The purpose of the current research was the application of artificial intelligence in higher education based on the level of learning and acceptance of artificial intelligence and digital leadership with the mediation of the attitude and behavioral intentions of artificial intelligence. According to the purpose, the research was applied and according to the method of data collection, it was a correlational descriptive research. In this regard, the statistical population of the research included all the professors of Semnan University (academic year 1402-1403) who entered the research using the stratified sampling method of 200 people and the questionnaires of learning and acceptance of artificial intelligence, digital leadership, intelligence attitude, Complemented the behavioral objectives of AI and the application of AI. The validity of the questionnaires using Cronbach's alpha respectively (0.81); (0.91); (0.89); (0.73); (0.83) and (0.86). Statistical methods of correlation coefficient and path analysis were used to analyze the data. There is a significant and positive relationship between the amount of learning and acceptance of artificial intelligence, digital leadership, attitude and behavioral intentions with the use of artificial intelligence. Learning artificial intelligence directly and also through the mediation of attitude and behavioral intentions has a significant effect on the use of artificial intelligence by professors. Acceptance of artificial intelligence through the mediation of attitude and behavioral intentions has an indirect and significant effect on the use of artificial intelligence by professors. Digital leadership directly has a significant effect on the use of artificial intelligence by professors. The results of this research indicate the importance of the attitude of artificial intelligence in increasing the behavioral intentions of artificial intelligence and consequently increasing the use of artificial intelligence in higher education.