The reaction you will be performing requires a source of chloride ion, which is the required nucleophile. A sodium chloride solution would be much more safe than a hydrochloric acid solution. Why is acid required?.