rental and improvements

I have converted 1/2 my basement into a one bedroom apartment that I want to rent out when I'm ready. I started investing money into this project in late 2021, 2022. Even though I haven't rented it out yet, should I have claimed the improvements in 2022? I'm unsure if there is a stipulation that it needs to be rented out in the same year. Thanks!