Document setup and configuration