I believe that the Acera rear derailleur stocked on that bike has a low-sprocket range of 32-36T, at least according to the Shimano website:
https://bike.shimano.com/en-US/product/component/acera-m3000/RD-M3000.html
So if you go with a 46T-max 8-speed cassette, you'll also need a new long-cage...