99 Pontiac Grand Am overheating after intake repair

After replacing the intake hose and connector on my 99 Grand Am, it overheated when I test drove it.  About an hour later I started it for about 2 minutes.  A gurgling sound was under the dash board so I turned it off.  Now it acts as if the battery is dead.  No lights except on the floorboard.  It also has a ticking sound coming from around the glovebox. The floorboard isnt wet.  Any ideas as to why my car went dead?