# Setting up Production and Non-Production Environments

### About this export

| Field | Value |
| --- | --- |
| **content_type** | lesson |
| **platform** | contentstack-academy |
| **source_url** | https://www.contentstack.com/academy/courses/launch-foundations/setting-up-production-and-non-production-environements |
| **course_slug** | launch-foundations |
| **lesson_slug** | setting-up-production-and-non-production-environements |
| **markdown_file_url** | /academy/md/courses/launch-foundations/setting-up-production-and-non-production-environements.md |
| **generated_at** | 2026-04-28T06:55:46.486Z |

> Part of **[Launch Foundations](https://www.contentstack.com/academy/courses/launch-foundations)** on Contentstack Academy. **Academy MD v3** — structured for retrieval; no quiz or assessment keys.

<!-- ai_metadata: {"lesson_id":"08","type":"text","duration_minutes":1,"topics":["Setting","Production","and","Non","Production","Environments"]} -->

#### Lesson text

## Setup Production and Non-Production Environment

When apps are being developed and released, software developers use environments to create stages. As per industry standards for environments most of the processes begin with development and end with production.

Launch allows you to create such environments.

## Prerequisites

1.  [Contentstack account](https://www.contentstack.com/login/)
    
2.  Access to Launch for your organization
    

## Create a Production Environment

Follow the steps to convert the Default environment of a project to production environment.

1.  From the Launch landing page, open the project for which you want to change the Default environment to production environment.  
      
    ![Launch\_-\_Projects.png](https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blt4a98e187b26f92e0/643e30f71a1ec621c9be6010/Launch_-_Projects.png)  
      
      
    
2.  In the Environments screen, click the **Default** environment.
    
3.  Click the **ellipses** next to Default and then click **Configure**.  
      
    ![Launch-Prod-NonProd-Ellipses.png](https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/bltae6f59972f5fb194/6436630eb2ef0d11ecea0238/Launch-Prod-NonProd-Ellipses.png)
    
    **Note**: You can also create a new environment for production by following the steps in the Create an Environment section in [this](https://www.contentstack.com/docs/developers/launch/environments) guide. Then, proceed with the following steps to configure the environment to set it up as a production environment.
    
4.  In Environments under Settings, click **General** and enter _Production_ as the Environment Name.  
      
    ![Launch\_Prod\_Non-Prod\_Env.png](https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blt2e09a601ddeb9295/64a662f08f332a4b6454449c/Launch_Prod_Non-Prod_Env.png)
    
5.  Click the **Save** button.
    
6.  Next, click **Deployments**.  
      
    ![Launch\_Prod\_Non-Prod\_Env\_Toggle.png](https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/bltb2475c7ec17875a2/64a662f18f332a733a5444a0/Launch_Prod_Non-Prod_Env_Toggle.png)
    
7.  Click the **Auto Deploy** toggle to disable it, and then click the **Save** button.
    
    **Note**: For Git repository based projects, you can prevent the ‘Production’ environment from automatically deploying any new commits that you push.
    
8.  You can add a custom domain for your projects. Click **Domains** and click the **\+ New Custom Domain** button, to [add a custom domain](https://www.contentstack.com/docs/developers/launch/custom-domain).  
      
    ![Launch\_Prod\_Non-Prod\_Domain.png](https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blta77205f1a562324c/64a662f01f8d5a64105871e3/Launch_Prod_Non-Prod_Domain.png)  
      
    ![Launch\_Prod\_Non-Prod\_DomainModal.png](https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blte676cc752a13de64/64a662f14d81434bd88fef0b/Launch_Prod_Non-Prod_DomainModal.png)
    
9.  Click the **Environments** icon in the left panel and then click the production environment you created to view the Deployments page.  
      
    ![Launch-Prod-NonProd-Deployments.png](https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/bltcfd5b01a5a25bf48/6436630ecbf631109cafae8d/Launch-Prod-NonProd-Deployments.png)
    
  
11.    
     

You have successfully set up a production environment for your projects.

  
  

## Create a Non-Production Environment

Follow the steps to create a non-production environment.

1.  Follow the steps provided in the Create an Environment section in [this](https://www.contentstack.com/docs/developers/launch/environments) guide.
    
    **Note**: Make sure to add the Environment Name as per the non-production environment you want to create. For example, if you want to create a development environment, add the Environment Name as _Development_.
    
2.  Next, in Environments under Settings, click **Deployments**.
    
3.  Click the **Auto Deploy** toggle to enable it, and then click the **Save** button.  
      
    ![Launch\_Prod\_Non-Prod\_Env\_NonProdToggle.png](https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blt2ed933d4e776b114/64a662f14eb51c3c1035d981/Launch_Prod_Non-Prod_Env_NonProdToggle.png)  
      
    **Note**: Skip this step if the Auto Deploy toggle is already enabled.
    

You have successfully set up a non-production environment for your projects.

#### Key takeaways

- Connect **Setting up Production and Non-Production Environments** back to your stack configuration before moving to the next module.
- Capture one concrete artifact (screenshot, Postman call, or code snippet) that proves the step works in your environment.
- Re-read the delivery versus management boundary for anything you changed in the entry model.

## Supplement for indexing

### Content summary

Setting up Production and Non-Production Environments. Setup Production and Non-Production Environment When apps are being developed and released, software developers use environments to create stages. As per industry standards for environments most of the processes begin with development and end with production. Launch allows you to create such environments. Prerequisites 1. Contentstack account (https://www.contentstack.com/login/) 2. Access to Launch for your organization Create a Production Environment Follow the steps to convert the Default environment of a project to production environment. 1. From the Launch landing page, open the project for which you want to change the Default environment to production environment. ! Launch\ -\ Projects

### Retrieval tags

- Setting
- Production
- and
- Non
- Environments
- launch-foundations
- lesson 08
- Setting up Production and Non-Production Environments
- launch-foundations lesson

### Indexing notes

Index this lesson as a primary chunk tagged with lesson_id "08" and topics: [Setting, Production, and, Non, Production, Environments].
Parent course slug: launch-foundations. Use asset_references URLs as thumbnail hints in search results when present.
Never surface LMS quiz content or assessment answers from this file.

### Asset references

| Label | URL |
| --- | --- |
| Launch\_-\_Projects.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blt4a98e187b26f92e0/643e30f71a1ec621c9be6010/Launch_-_Projects.png` |
| Launch-Prod-NonProd-Ellipses.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/bltae6f59972f5fb194/6436630eb2ef0d11ecea0238/Launch-Prod-NonProd-Ellipses.png` |
| Launch\_Prod\_Non-Prod\_Env.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blt2e09a601ddeb9295/64a662f08f332a4b6454449c/Launch_Prod_Non-Prod_Env.png` |
| Launch\_Prod\_Non-Prod\_Env\_Toggle.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/bltb2475c7ec17875a2/64a662f18f332a733a5444a0/Launch_Prod_Non-Prod_Env_Toggle.png` |
| Launch\_Prod\_Non-Prod\_Domain.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blta77205f1a562324c/64a662f01f8d5a64105871e3/Launch_Prod_Non-Prod_Domain.png` |
| Launch\_Prod\_Non-Prod\_DomainModal.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blte676cc752a13de64/64a662f14d81434bd88fef0b/Launch_Prod_Non-Prod_DomainModal.png` |
| Launch-Prod-NonProd-Deployments.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/bltcfd5b01a5a25bf48/6436630ecbf631109cafae8d/Launch-Prod-NonProd-Deployments.png` |
| Launch\_Prod\_Non-Prod\_Env\_NonProdToggle.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blt2ed933d4e776b114/64a662f14eb51c3c1035d981/Launch_Prod_Non-Prod_Env_NonProdToggle.png` |

### External links

| Label | URL |
| --- | --- |
| Contentstack Academy home | `https://www.contentstack.com/academy/` |
| Training instance setup | `https://www.contentstack.com/academy/training-instance` |
| Academy playground (GitHub) | `https://github.com/contentstack/contentstack-academy-playground` |
| Contentstack documentation | `https://www.contentstack.com/docs/` |
| Contentstack account | `https://www.contentstack.com/login/` |
| Launch\_-\_Projects.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blt4a98e187b26f92e0/643e30f71a1ec621c9be6010/Launch_-_Projects.png` |
| Launch-Prod-NonProd-Ellipses.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/bltae6f59972f5fb194/6436630eb2ef0d11ecea0238/Launch-Prod-NonProd-Ellipses.png` |
| this | `https://www.contentstack.com/docs/developers/launch/environments` |
| Launch\_Prod\_Non-Prod\_Env.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blt2e09a601ddeb9295/64a662f08f332a4b6454449c/Launch_Prod_Non-Prod_Env.png` |
| Launch\_Prod\_Non-Prod\_Env\_Toggle.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/bltb2475c7ec17875a2/64a662f18f332a733a5444a0/Launch_Prod_Non-Prod_Env_Toggle.png` |
| add a custom domain | `https://www.contentstack.com/docs/developers/launch/custom-domain` |
| Launch\_Prod\_Non-Prod\_Domain.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blta77205f1a562324c/64a662f01f8d5a64105871e3/Launch_Prod_Non-Prod_Domain.png` |
| Launch\_Prod\_Non-Prod\_DomainModal.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blte676cc752a13de64/64a662f14d81434bd88fef0b/Launch_Prod_Non-Prod_DomainModal.png` |
| Launch-Prod-NonProd-Deployments.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/bltcfd5b01a5a25bf48/6436630ecbf631109cafae8d/Launch-Prod-NonProd-Deployments.png` |
| Launch\_Prod\_Non-Prod\_Env\_NonProdToggle.png | `https://images.contentstack.io/v3/assets/blt2d43f51baca745a8/blt2ed933d4e776b114/64a662f14eb51c3c1035d981/Launch_Prod_Non-Prod_Env_NonProdToggle.png` |
