Do you have a wide connector (10cm/4 inches or so) or a narrow connector?
If it's the wide connector (IDE), it goes into this socket (Either the green or the white one. Just plug it into the IDE1 socket):
If it's a narrow connector, it goes into this socket (Just plug it into any sata connector. Blue in the image.):