To set up an environment, go to the Octopus web portal, navigate to infrastructure than environments and click add environment.