You’ll want the WHO recipe for Oral Rehydration Salts:
https://rehydrate.org/solutions/homemade.htm#recipe
Preparing 1 (one) Litre solution using Salt, Sugar and Water at Home Mix an oral rehydration solution using the following recipe. Ingredients:
2T Sugar
Half (1/2) level teaspoon of Salt
One Litre of clean drinking or boiled water and then cooled - 5 cupfuls (each cup about 200 ml.)
Preparation Method:
Stir the mixture till the salt and sugar dissolve.