Is the solar energy credit for just the year it's installed or does in carry over to following years?

Our solar panels were installed in 2022. Can we still get a credit for them this year?