I was in the same boat as you, needed to get Amazon Affiliate code on my page, couldn’t do it however, I just did.
We name our links when the code is given to us, so name it appropriately (I didn’t but oh well) and then at the location you want that link name to show up in your narration for customers to click, switch from the default “visual” to the “html” tab at the top right hand of your post pad or page. As soon as you choose html you see everything looks funny and if you have set other regular links you can see the html behind them. Enter your code where it needs to be, go back to the visual view and there is the name in blue of your link in text just like you created it on Amazon. Preview your page ( I did mine in another browser just to make sure) and then upload it if aok.