Wifi connection in Ubuntu OS

Open the control center, find network connections, see wireless tab, and then configure one wlan connection by giving security type, network name and passkey. Thats it. Also if your computer have a physical key to enable wifi, turn it on before doing the process.