Connecting a Raspberry Pi to the WiFi network is easy for adapters that are supported by the Raspbian. Support for some adapters is not included, however and additional steps might be required to make them work. The adapter that I've got is Edimax EW-7811UAC