dg setup