how to configure the environment