Add vinegar to vegetables on Shabbat

Can I add vinegar to vegetables (ex, vinegar and cucumbers to make cucumber salad) on Shabbat or does it have to be made before Shabbat?

Unless your planning on letting it sit to pickle, it’s allowed.