This article aims to show the dimensioning and evaluation of a Distributed Generation system based on renewable energies for its application in a rural area in the state of Veracruz, Mexico. The main motivation of this work arises from the shortage of energy or a deficient supply in numerous localities located in the state of Veracruz, derived from different reasons. A methodology based on the application of HOMER Pro software is proposed for the sizing and optimization of a renewable hybrid system, considering it as an isolated set from the supply network, achieving the optimization and evaluation from technical and economic aspects. Initially, the meteorological data of the site were obtained, from its geographical coordinates; subsequently, the demand profile of one of the households in the community is determined to extrapolate it to the total number of dwellings. The results obtained in this research can serve as a basis for its implementation and, therefore, improve the conditions in which the population of rural communities or isolated from supply networks usually live.