I used male to male jumpers that are around 8" long. I believe the pins 20 and 21 are marked SDA and SCL on the mega board, and those are the one's I used. When I used pull up resistors, I had to use a small breadboard, so that added another short wire length.