> ## Documentation Index
> Fetch the complete documentation index at: https://formbricks.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Test Environment

> Each project on Formbricks has two environments: a test environment and a production environment. The test environment is used to test your surveys through before they are sent out to your customers.

To clearly separate between test and production data, Formbricks provides two different environments for each project. These environments are completely independent of each other **incl. API keys, project configuration and environment Id's** used for connecting Formbricks to run in-product surveys.

## Toggle between environments

You can switch between environments from the Website & App Connection settings (Configuration > Website & App Connection). At the top, you'll see a toggle button that says "Switch to development" (when in production) or "Switch to production" (when in development).

### Dev Environment (Testing)

The development environment is used to test your surveys and project configuration before deploying to production. When you're in development mode, you'll see a dark red breadcrumb labeled "development" at the top.

### Production Environment

The production environment is used to serve your surveys to your respondents.

## Copy surveys between environments

<Steps>
  <Step title="Click More Actions">
    Click on the "More actions" button of a survey in the survey list

    <img src="https://mintcdn.com/formbricks/yKl9MUpEW6O1uJ5B/images/xm-and-surveys/core-features/test-environment/more-actions.webp?fit=max&auto=format&n=yKl9MUpEW6O1uJ5B&q=85&s=4806f9fc85d2ee94318de5c807be4de5" alt="More actions" width="688" height="592" data-path="images/xm-and-surveys/core-features/test-environment/more-actions.webp" />
  </Step>

  <Step title="Select Target Environment">
    Choose which environment you want to copy the survey to

    <img src="https://mintcdn.com/formbricks/yKl9MUpEW6O1uJ5B/images/xm-and-surveys/core-features/test-environment/modal.webp?fit=max&auto=format&n=yKl9MUpEW6O1uJ5B&q=85&s=01114b3cc0dd3aa4a7e61efed9149bf8" alt="Copy survey" width="1480" height="1198" data-path="images/xm-and-surveys/core-features/test-environment/modal.webp" />
  </Step>
</Steps>
