Buy glass adhesive. Most hardware and window stores sell glass adhesive. Ask the salesman for a glass adhesive that adheres glass to metal. Some glass adhesives are two parts that must be mixed together and some glass adhesives do not need to be mixed.
Clean the glass surface. Spray the glass surface with the glass cleaner and wipe it clean with the cloth. Let the glass surface dry for at least ten minutes.
Clean the metal surface with the mild detergent and water. Scrub the surface with the cloth and remove the detergent with water. Let the metal surface dry for at least 30 minutes.
Apply glass adhesive to the glass surface. If you have a two part adhesive apply the activator to the metal surface.
Press the metal to the glass surface. Hold the metal to the glass for at least three minutes until the metal object is firm. Full adhesion will occur in an hour.