The terms state you need to buy them at vending machines north of Manhattan, so I would not expect them at Grand Central or Harlem. They are available to train ticket holders at Grand Central, so I would bet you need to go to the counter and show a ticket.
If you need your ticket for a receipt or something, you can ask the conductor for it, they will just punch it so you can't use it again and give it back to you.