To attach a cat hammock to a chair, secure the hammock's straps around the chair's legs or armrests. Ensure the straps are tightened and the hammock is suspended securely, providing a comfortable and safe spot for your cat to lounge.