The vertiginous evolution of mobile communications networks is affecting not only the complexity and size of them, but also the way that these new networks have to be managed. Nowadays, the network management, and specially network optimization, is focused on improving users’ quality of experience instead of network performance. This new approach will be essential in next fifth generation new radio (5G NR) networks where different services with different requirements have to coexist. This work is focused in one of the main features from 5G NR networks, multi-connectivity. This functionality allows a user to connect to more than one node by using multiple component carriers simultaneously. This paper proposes an automatic method to assign component carriers with the objective of optimizing the users’ quality of experience.