You need a Builders Club membership to create badges at all. Once you have that, the process is short.
Open the place you want the badge on, and next to it you will see an "add badge" option. Choose it, upload the image you want to use, and place it wherever it fits your game. The badge then appears on that place's page for anyone who earns it. Free accounts can still collect badges from other people's games; they just cannot award their own.