Configure client when initialising