How can I add a Terms of Service checkbox to the registration page?

A terms of service page has been created with the privacy policy inside. How can I create a Terms of Service text field with a checkbox on the registration page?