First time adding 529 contributions

Okay, so this will be my first time ever adding 529 contributions. So on the line which year contribution do I add? I have 2022 contributions as 20$ and 2021 as 410$. Since it's 2022 and tax year 2021, do I use 2021 contribution? Thanks in advanced. Oh I'm in NY