Energy credit on past roof replacement

About 2017 I had my roof replaced. Is it possible to still take the energy credit on that expense even though it is 8 years later? If so, what documentation do I need and which tax year needs to be amended?