When you write your hub just add the capsule and then open amazon.com in another hub. Search for relevant products and use the URL of those products in your capsule by clicking "choose specific products". If you're selling amazon books then you can use ISBN number as well.
You don't need to add any HTML on your capsule. All you have to do is use the amazon capsule and add the product and you're done.