Any 9 speed chain will work with any 9 speed drivetrain.
If you're referring to the cable ends that are put on near the derailler and brake calipers (to cap the pointy ends), then you simply pinch them on with a cable tool or pliers.
If you're referring to the cable nuts that go INSIDE the brifters, those do not get "put on" by the end user, they come factory.
You're always better buying the cable and the housing by the piece/foot respectively, from the shop for cheapness. Kits are typically more (in my experiences).
Make sure you're aware that there are different cables AND housings for brakes/shifters.