If it's not aligned, it'll make noise as it meshes with the teeth on the cogs. Or if it's really tight it'll click and crunch.
Check the teeth of the sprockets to see if there's wear on the edges from the chain biting into it.
Check engine cog for wear on the cog, and grind marks in the case or cover from the chain rubbing.
Clean your chain. Take it off and make sure links aren't binding up. If it makes noise in one spot, isolate that spot and make sure the link isn't damaged.
All my bikes made some chain noise, and most of it is normal.
If it's a new noise, something is off, worn, or broken.
A new masterlink might not be as worn as the rest of the old chain and may be catching on the teeth. Make sure it's the right size.
Or it's just dirty and needs some lube.
WD-40 is not chain lube.