Spectacled bears (SB) (Tremarctos ornatus) are the only bear species native to South America. This particular bear is the single species of its genus, and it is listed as vulnerable according to the IUCN red list. A critical SB conservation habitat is in the rural territories of the Peruvian Amazon, where anthropogenic land-use changes and landscape fragmentation threaten SB habitats. The following questions arise in this context: How much has land-use changed? How to design the establishment of ecological corridors (ECs) to support the conservation of SB?. We investigated the temporal land use and land cover changes for last 30 years (1990–2020) for a better projection of the ECs and to quantify the temporal landscape metrics. Furthermore, we integrated cloud computing, machine learning models with cost-effective techniques to delineate the ECs for SB within the rural territories. Ensemble Random Forest model associated with Google Earth Engine (GEE) was used to develop four land use and land cover (LULC) maps (for the years 1990, 2000, 2010 and 2020). The least cost path (LCP) model based on Dijkstra’s shortest path algorithm was assembled based on six variables (altitude; slope; distance to roads; distance to population centers; land use map; inventory map of SB). Then, we calculated the ECs based on the multidirectional origin-destination points, we found that forest patches increased by 57% between 1990 and 2020. Results showed statistically significant agreement (R 2 = 0.47; p < 0.05) between cost/ha* and percentage of forest cover. We observed that the higher the forest cover, the better the connectivity and the lower the cost of mobilization in the ECs. Our study outcomes validated through the images obtained from trap cameras that confirms that delineated routs for SB movements. The proposed model can be adopted for other parts of the global forest including other species of interest. To formulate a sustainable conservation action plan, we provided five recommendations that will support conservation practices, design cost-effective ECs for policy makers.