The blue wire is the "switch" (i.e. door pin)
Red - 12v
Blk - gnd
blue - whatever you want to make "chime", its looking for a neg input to make it "chime", like your door pin switch
you can verify by hooking up to your car bat and touch the blue to a ground and it should chime.