Client setup and Discovery document