Connect internet over wifi from a ubuntu installed BBB.

I am using BBB for a robotic application, for which i have installed Ubuntu 14.04 in BBB. I want to connect BBB to internet over Wifi, is it possible?, if so how could i do this. Please direct me to some tutorials & documents.