Turn off the gas going to the appliance. Remove the existing pipe if applicable.
Attach the fittings to the copper pipe per the manufacturer's directions. Although each kit varies, it should include at least two flare nuts, one for each end of the copper pipe. The kit should also include a brass elbow that attaches to the end of the copper line you plan to connect to the gas appliance. Do not attach the elbow yet.
Align the other flared end of the copper pipe with the gas line fitting. Thread the flared nut onto the fitting. Connect the brass elbow with the gas pipe coming out of the appliance. The appliance pipe is typically found on either the bottom left or bottom right side of the appliance.
Create a mixture of dish detergent and water in a cup. "The Family Handyman" suggests 2 teaspoons of dish detergent to 1 cup of water. Lightly apply the mixture to the gas connections with a brush.
Turn on the gas. Inspect each connection. If the bubbles begin to appear from the mixture, turn off the gas. The bubbles indicate a gas leak. The leak is usually caused by a loose connection, and can usually be remedied by tightening the connection or reconnecting the copper pipe.