The Environment can only be opened as a separate window.
Choose Window > Environment (or use the Open Environment key command, default assignment: Command-8).
You can also use the Toggle Environment key command to:
Bring an open Environment window to the front.
Open an Environment window.
Close an Environment window, if it is the active window.