couldn't connect Arduino to wifi with xpico shield

Hello,

I was trying to connect my Arduino mega to the wifi using xPico wifi shield, and I failed.
I was using the WiFi library but apparently the shield is not compatible with the library and it needs its own libraries.

Does anyone know which libraries should I use?

(deleted)