I have 2 dependents but didnt work all 2022. Can i still claim the child tax credit and how do i file it?

I have no taxable income but was told i could still get the credit but when i try to file it says no refund due to no income entered.