Wifi 101 shield not connecting

I have an Arduino wifi 101 shield, it does not have any ports for usb, mini, it just plugs into the arduino mega. How do I get them to talk to each other? every thing I have tried ends up with wifi not connected.