You can pair an Alexa-compatible remote with your Amazon Echo by using the Alexa app on a mobile device.
To pair a Firestick remote with your Amazon Fire TV, you can use the "Home" button or the TV's settings menu.