SixaxisPairTool is the program used for this. It is a freeware controller pairing application that's reliable, easy-to-use and modern.
Here is a screenshot to illustrate the features and user interface of this application: