On the Apple TV, go to Settings > General > Remotes. Here there will be an option for Learn Remote. Choose it and select Start. The Apple TV will walk you through all the major buttons on the remote so it can pair your remote up with what will control the Apple TV. When you’re done you’ll now have a new remote that controls your Apple TV. The whole process is extremely self-explanatory and after a few simple button presses, you’re all set. Apple doesn’t talk about this too often, but it sure would be nice if everything else worked this way.