Wifi shield not working

WIFI SHIELD LED BLINKS in arduino BUT IT SHOWS NO SHIELD CONNECT IN SERIAL PORT.

Can you share your sketch, serial output, and model of arduino and wifi shield?

1)arduino mega 2560
2)ESP8266 ESP-12E UART WIFI Wireless Shield TTL Converter (http://www.amazon.in/ESP8266-ESP-12E-Wireless-Converter-Arduino/dp/B01LXG0TIF?tag=googinhydr18418-21&tag=googinkenshoo-21&ascsubtag=655f4053-632b-442d-a11d-30d39b441e6d)

3)sketch

#define CAYENNE_PRINT Serial // Comment this out to disable prints and save space
#include <CayenneWiFi.h>

// Cayenne authentication token. This should be obtained from the Cayenne Dashboard.
char token = “”;
// Your network name and password.
char ssid = “123456”;
char password = “12345678”;

void setup()
{
Serial.begin(9600);
Cayenne.begin(token, ssid, password);
}

void loop()
{
Cayenne.run();
}

4)im not sure about the shield connection there is no documentation regarding this shield and i recently saw a video in which the tx and rxd pin where bent and given from tx2 and rx2

in the shield there are 4 switches i dont know what they are for.

please help me to figure this out

sketch
#include <CayenneWiFi.h>

// Cayenne authentication token. This should be obtained from the Cayenne Dashboard.
char token = “”;
// Your network name and password.
char ssid = “123456”;
char password = “12345678”;

void setup()
{
Serial.begin(9600);
Cayenne.begin(token, ssid, password);
}

void loop()
{
Cayenne.run();
}

This shield is currently not supported but some people have it working WifiShield with arduino uno compiling error - #11 by kreggly