# 2.3 Understanding & Managing Environments (IDE)

After building your app, you will be taken to the environment management page. Here, you can manage different environments for your app, such as Development, Staging, and Production. This allows you to build, test and deploy your app in a controlled manner.

**Development Environment**

* This is where you will develop and test new features and changes before moving them to staging or production.

**Staging Environment**

* This environment is used for final testing before deployment to production. It mimics the production environment to ensure everything works as expected.
* Click the <mark style="color:red;">`"+ New"`</mark> button under the Staging section to create a staging environment.

**Production Environment**

* This is the live environment where your end users interact with your app. It should only contain thoroughly tested and stable versions of your app.
* Click the <mark style="color:red;">`"+ New"`</mark> button under the Production section to create a production environment.

You can switch between environments and manage their settings as needed to ensure a smooth development and deployment workflow.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.klai.studio/getting-started/ide-quick-tour/first-app/environments.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
