You'll need to use the Apple remote to set this up, and you do so by choosing Settings > General > Remotes from the Apple TV's interface. Choose Learn Remote, and press the six buttons that the Apple TV needs to learn.
Some remotes may not work, so read Apple's technical document for more information.

