Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions docs/pages/product/workspace/environments.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
An environment provides access to your data model. Cube Cloud provides the following environments:
- production (default)
- staging - providing access to the data model on a specific branch.
Each branch in the repository corresponds to a separate staging environment.
Each branch in the repository corresponds to a separate staging environment.
Changes must be committed to a branch to be viewable in this environment.
- development - providing access to the data model that you are currently working on.
The development environment is automatically created when you enter [development mode][ref-dev-mode].
It tracks the branch you're on and is updated automatically when you make changes to the data model.
One development environment is allocated per user.
It tracks the branch you're currently on and is updated automatically when you save changes to the data model.
You cannot query the development enviornment unless your user is in dev mode on the branch you are trying to access.

Each environment provides its own set of API and SQL API endpoints.
You can access them on the [Data Model][ref-data-model]'s Overview page and <Btn>BI Integrations</Btn> SQL API Connection tab.
You can reference them on the [Data Model][ref-data-model]'s Overview page and <Btn>BI Integrations</Btn> SQL API Connection tab.
To query a development environment's API endpoints, your user must be in dev mode and on the branch that has the saved changes.

<Screenshot
src="https://ucarecdn.com/e1cddf72-3044-4d72-a0b9-023bf3285786/"
Expand Down