Leave at least 12 inches of space between the top of the tent and the sunshade, to allow air to flow over the tent and cool things off. Note that a sunshade does not have to be of the shiny, reflective mylar variety — though these work extremely well — but can also be as simple as a tarp.