Ok, put a 100Ω resistor in series with the emitter. Do you how to tell the anode from the cathode? Do you know which device is the emitter?
On the detector side, put the LED in series with the detector, in series with a 1K resistor. Do you know the polarities? The LED will be very dim, when the emitter is pointing at the detector, within an inch or so.