Instead of water softener can you add salt directly to your pool to lower hardness?

I read some people add salt to help hardness(just enought so you can barely taste it).

but I can't find any information how salt effects equip or how much to add or where to buy the salt. do I actually buy from a pool store?

thanks,
scott