---
updatedAt: 2025-08-27T17:15:42.000Z
agentTools:
  projectIndex: https://documentation.bunnyshell.com/llms.txt
---

# Creating and Deploying your first Environment

## Introduction

Bunnyshell makes it easy for you to create full-stack environments, going from simple static websites to some of the most complex applications.

An Environment is a user-defined group that brings together applications and all of the services and databases those applications require, running within a namespace.

Environments typically represent the software project lifecycle stages, such as staging, development, QA, or production.

> 📘 Note
>
> Before you get started, make sure you sign up for a Bunnyshell account and choose one of the available plans.

### Prerequisites

* You have created an [Organization](organizations). An organization enables team collaboration on multiple projects and easy management of global configurations.
* You have created a [Project](projects). Projects make it easy for you to organize your work and help teams separate different resources, such as apps, services, or databases.
* A [Github](https://github.com/), [Gitlab](https://about.gitlab.com/), or [Bitbucket](https://bitbucket.org/) account, as well as an application with a `docker-compose.yml` or a `package.json` file in the root. Find out more [here](bunnyshell-requirements).

Follow the instructions below to deploy your own environment.

## 1. Creating an environment

Select a Project from the main Bunnyshell interface and click **Create environment**. Give it a name that is easily recognizable by anyone in your team and click **Create environment**.

![](https://files.readme.io/090733d-Environments_Overview_-_No_Environment.jpeg "Environments Overview - No Environment.jpeg")

## 2. Defining your Environment Components

Once the environment has been created, it's time to define the environment components and configuration. To add an application in the environment click on **Create application** in the environment view.

### Application Repository

Select a repository from your VCS that you'd like to use to create your application. If you haven't yet connected your Git provider, you can do it now.

![](https://files.readme.io/4c8c965-Create_Application_-_Step_2_-_Git_connected.png "Create Application - Step 2 - Git connected.png")

### Review Environment Components

When a repository is selected, Bunnyshell will analyze the specified branch on that repo to find all the applications and their required dependencies (services and databases). This information is gathered from either `docker-compose.yaml` or `package.json`.

Review all of the detected services to ensure they are correct. If you are missing a service, review your `docker-compose.yaml` or `package.json` file. If this looks correct, you can click **Continue**.

![](https://files.readme.io/4bb0dd1-Create_Application_-_Step_3_-_Edit_Component.png "Create Application - Step 3 - Edit Component.png")

### Environment configuration validation

In this step, you can review and, if necessary, modify the [Environment definition file](ref-yaml-definition). Click **Create application** after reviewing or editing.

The `bunnyshell.yaml` file is a single editable record, representing the entire environment definition, including Applications / Services / Databases.

![](https://files.readme.io/ab139c8-Create_Application_-_Step_5.png "Create Application - Step 5.png")

Your primary environment is now defined and ready to be deployed.

<Image align="center" className="border" border={true} src="https://files.readme.io/92b336c-Environment_Details.png" />

## 3. Deploying your environment

1. Access your environment and click the **Deploy** button. The **Select cluster** window is displayed.
2. Select the Kubernetes cluster where you want to deploy the environment and click **Deploy Environment**. Congratulations! Bunnyshell deployed the environment and now your application is live and testable by everybody within your team.

> 📘 Note
>
> In case you encounter errors after deploying your environment, access the logs for more information regarding potential issues. Find out more about troubleshooting environments [here](troubleshooting).