how to connect arduino uno ,8 channel relay shield and esp8266 wifi module

I have just started to work with arduino
i have done basic level arduino things :o

Can someone help me in connection of arduino uno 8 channel relay shield and esp8266 wifi module so that i can control some low voltage devices through smart phone !!
not directly but some guidence of yours an help in my project completion as well would help me in knowing more about arduino

THANX in advance

It might help if you post a link to the relay shield.
Leo..