Alarm - Connection

It should be simmilar to this:

And now I have to put the cables into pin2 and ground?!?

Would you be so kind, to send me the complete programm code?

Thank you very much!