It's important to use the proper grout, meaning a cement based powder type. Using pre-mixed grout is not supported and is considered to be a lower quality grout.
Recommended brands are:
Polyblend by Custom Building Products available at Home Depot.
Keracolor S by Mapei available at Lowes.