The vaccination is 100% free. Bring your passport. I would recommend that you get the vaccination 2 weeks before to be safe. I got the vaccination 5 days before I went to Iguazú, and on the fourth or fifth day I was slightly feverish.
you definitely need to do this in advance to make sure that there are no adverse reactions. Also the vaccine is not effective right away. I think you need to wait a couple of weeks. There is always a degree of risk involved in vaccinations, so think twice regarding going to Bolivia. Also keep in mind that if you go to a private clinic for this vaccination you will not get an international certificate so you have no choice but to go to the above address.