Setting up WAP

I hav Ptcl dsl connection and three Pc's connected through 8 port switch. What i want to ask is can i connect wireless access point to network switch via lan cable. Or should it be directly connected to modem so that wifi devices can access internet.