The red wire goes to one side of the RMY output, the green is connected to the yellow and they tie to the other RMY output. Just be sure that you have the inches or mm version that you prefer.
This connection is the same for other brands of tipping bucket rain gauges, such as NovaLynx, Met One, WaterLog, etc.