To get a banana in Viva Piñata, your first step is to buy a monkey as soon as it becomes available to you. The monkey is what allows you to obtain bananas, so once you've got one, you're on your way.