The central bus station has buses departing in eiher direction of this very small desert place. The bus to the airport leaves from the down town bus station, 3 dirhams ( about a dollar ). Modern buses, very unfriendly filipino drivers.
But the arab manager of the bus station was extraordinarily friendly and plied with all sorts of information. If you have a few hours to kill, it is good to take the bus.