First, you must download and install travian bot. Once it is installed, just open the bot program and login with your game account credentials.
Then go to top menu Help -> Buy License
For more details read: How to Buy page