The trend of artificial intelligence is arriving in public administrations, even if this is happening at a slower pace than in other sectors. Today, there are already some public administrations which use artificial intelligence in data analysis, decision-making, fraud detection and irregularities, and the provision of public services. The use of artificial intelligence creates a number of challenges for public administrations that need to be addressed, such as the current lack of transparency, the biases and discrimination, the decrease in guarantees in the processing of administrative procedures, the responsibility for damages caused by the use of artificial intelligence, and its impact on public employment. Artificial intelligence is one of the foundations of intelligent governance; it must include all people in order to contribute to a sustainable development.