The high consumption of natural non-renewable resources has caused an exponential increase in the greenhouse gases which provoke global warming and as a result, every country on the planet suffers environmental issues due to the excessive use of fossil fuels. There are several different sources of gas production, principally caused by human beings, however there is little to no interest in mitigating them. Global interest is instead currently focused on containing them via the reduction of carbon dioxide (CO2) and methane (CH4). In the Paris Agreement, participating countries have committed to keeping the rise of the mean global temperature below 2 °C and to limiting its increase to 1.5 °C. Latin America as a whole (and principally, Mexico) has committed to lowering greenhouse gases 25% by 2030 and 50% by 2050 (AZEL, 2018). To achieve this, it is necessary to contribute by applying clean energy alternatives. The current project proposes using bovine and swine organic wastes for the production of biogas and electric energy in 26 cities of high marginalization in Hidalgo, a state in Mexico which contributes to lowering environmental pollution, providing access to better services for raising the quality of life of its inhabitants, and minimizing the use of (therefore saving the money provided for) subsidies for conventional electric energy.