A harm reduction vending machine has been installed in Taylorville to help prevent overdoses.