I live in South Carolina, but work in North Carolina. I got solar panels this year: how will state credit work since I don't pay taxes in South Carolina?

I was told I would get a federal and state credit, but it just dawned on me and I have no idea if NC will honor the tax or what. Again I don't pay SC tax so...