I work in New Jersey, but live in Connecticut...how will tax filing work? Will I get tax credit?

I started working in New Jersey 4/1/2023, but live full-time in Connecticut. How will tax filing work for me? Do I get a tax credit?