connection between mega 2560 et wiflyRN-XV

Hello everyone
I try to make a connection between an Arduino Mega 2560 and module WiFly RN- XV that will be the server.
and I want to emit commands from a tablet that will be the client.
I unable to make the connection between Wifly and Arduino
if you can help me to succeed this connection I would be very grateful and thank you in advance