There are multiple ways of getting consent for your Terms and Conditions.
The most common one is called clickwrap or express consent. It's the "I agree to" checkbox that you see near "Sign-up" or other form buttons.
When you implement a checkbox, make sure you can label it correctly with specific words such as "Accept" or "Agree". Example: "By checking this box, I am agreeing to the Terms and Conditions."