In classic slime formulations, sodium borate (Borax) or sodium tetraborate is used. When dissolved in water, sodium borate dissociates into sodium ions and borate ions. If a polymer is present like PVA, the borate ions interact with the polymer chains and form weak ionic bonds that make the solution thicker.