How can I save multiple checkboxes to member profiles?

I understand, but I have a few questions:

  1. Where do I put the code? Do I have to put the code on the page I want to configure the checkboxes on?

  2. What’s the next step?