I think we're putting the tail before the dog in this conversation.
pH is a measure of the balance between the Hydrogen and Hydroxide ions in the water.
low pH is acidic
high pH is alkaline (basic)
pH scale is a logarithmic scale, so pH of 7.0 is 10 times more acidic than a pH of 8.0
Carbonate Hardness (KH)
Alkalinity (different from the term alkaline) is a measurement of waters buffering ability (ability to absorb and neutralise acid). The more alkalinity (the higher the carbonate hardness) the less likely it will be to incur pH swings i.e. the more stable the water. African cichlids live in very stable, high pH environments. Adding baking soda (sodium bicarbonate) will raise the kH of the water and so will commercially available products that raise the buffering capacity.
General Hardness (GH)
This is the measurement of Magnesium and Calcium ions in the water or the hardness or softness of the water. Limestone or crushed coral will raise the general hardness. There is only a correlation between pH and hardness if your water happens to be hardened by carbonates of Ca and Mg.
Whether or not salt increases the pH depends on what you mean by salt. Commercial salt mixes intended for reef/saltwater aquaria are pretty alkaline and contain many kinds of salts so they can raise both pH and hardness. Plain sodium chloride (table salt and sometimes aquarium salt) has no effect on pH or hardness at all.
Epsom salt (magnesium sulfate) will raise the GH. It's laxitive properties also benefit aquarium fish because it prevents blockage when the fish gobble food.
Instead of buying commercial buffering agents for my Africans, I mix my change water ahead of time. I use Epsom salt, sea salt mix, and baking soda. Starting with 50 gallons of *MY* plain tap water, I mix 4 tbsp epsom salt, 5 tsp sea salt, and 6 tsp baking soda. This produces water with a pH of 8.4, KH of 11 - 14, and a GH of 20. Your results will be different, depending on your tap water.
You may just want to use the commercial products. There is some debate... This method works for me.