We use Brace Rail Clamps to attach the PVC pipe to the top rail of the dog kennel. They can be found in the chain link fencing section of big box stores like Lowes; typically under $2 each. A 1/2 inch PVC pipe will fit into them. You attach them to the top rail with a socket wrench...