how to setup network settings

pre: priming example
next: consumer function