Setting up an Apple ID without using a credit card
Please head to Apple's support site for the up to date instructions depending on the device you're using:
https://support.apple.com/en-us/HT204034
https://support.apple.com/en-us/HT204034