There's no direct connection between the two stories. But in King's multipart Dark Tower series, characters from both works eventually appear in it. So if you read Dark Tower first (as I did), when I went back and read (and eventually watched) Salem's Lot and It, it was like getting backstories...