Had to do the same thing. Super easy.
https://www.amazon.com/gp/product/B07GND8RMQ/ref=ppx_yo_dt_b_asin_title_o03_s00?ie=UTF8&psc=1
In addition to this transformer I'm using this chime with good results for 2.5 years now
I used this one
Doorbell Transformer Compatible... https://www.amazon.com/dp/B07GND8RMQ?ref=ppx_pop_mob_ap_share
Transformer for door bell.
https://www.amazon.com/Doorbell-Transformer-Compatible-Video-Hardwired/dp/B07GND8RMQ