Turn off the water to the toilet. The faucet is usually located near the toilet base or under the sink.
Flush the toilet to remove the water from the tank.
Remove the tank lid and ensure all the water is gone.
Wipe inside the tank with a towel to dry it. Use a hairdryer on the crack or wait for the surface to dry thoroughly.
Apply a line of plumber's adhesive and sealant to the crack. Push the adhesive's nozzle into the crack so the adhesive works inside completely.
Allow the adhesive to dry thoroughly before using the tank. This varies based on the brand of adhesive you purchased. If in doubt, wait at least 24 hours before turning the water to the toilet back on.