The lowest safe amount is 1.5% salt for the total weight of everything else. So, for example: if you're fermenting 300g of peppers and cover them with 200ml = 200g of water, you should have at least (200+300)*1.5% = 7.5g salt.
When preserving veggies I usually do this by weighting the veggies and water together then adding the salt, instead of making the brine separately. Salt dissolves easily anyway.