The beat way is to connect it to your taranis and load firmware via the taranis menu in our frsky receiver firmware update guide - How to upgrade your FRsky Receiver firmware (X8R, X4R, X4R SB)
It doesn’t have a pic showing how to connect the XSR but it’s the same idea as all the others where you need to connect positive, negative and the signal wire to the back port on your taranis.