You can use a window ac and either put the tent right up against the window and have the ac blow directly into the tent, or you can rig up the window ac to some ducting to blow the air directly in the tent.
The first option works best, you will definitely have no heat problem if you have a window ac directly in the tent. Just cut a hole in the tent the size of the ac and seal the tent around the ac. That would be the most efficient way to keep it cool, those portables might have a hard time keeping up