---
title: Deploy a project in production
description: Deploy a tested project to a production environment whose server, databases or schemas differ from those of development.
---

[Skip to content](https://knowledge.bigenius-x.com/deploy-a-project-in-production#main-content)

[Contact us](https://knowledge.bigenius-x.com/kb-tickets/new?hsLang=en) [Go to Customer Portal](https://knowledge.bigenius-x.com/customer-portal?hsLang=en)

[![TRI\_Logo\_biGENIUS\_2020\_RGB\_s](https://knowledge.bigenius-x.com/hs-fs/hubfs/Marketing/TRI_Logo_biGENIUS_2020_RGB_s.png?width=150&height=42&name=TRI_Logo_biGENIUS_2020_RGB_s.png)](https://www.bigenius-x.com/)

Open main navigation

Close main navigation

- [Contact us](https://knowledge.bigenius-x.com/kb-tickets/new)
- [Go to Customer Portal](https://knowledge.bigenius-x.com/customer-portal)

 How can we help you?

- There are no suggestions because the search field is empty.

1. [biGENIUS-X Knowledge Base](https://knowledge.bigenius-x.com/?hsLang=en)
2. [Best practices](https://knowledge.bigenius-x.com/best-practices?hsLang=en)
3. [Use Cases](https://knowledge.bigenius-x.com/best-practices?hsLang=en#use-cases)

# Deploy a project in production

**Applies to**  
Platform: Microsoft SQL Server · Snowflake · Databricks · Fabric Lakehouse · Fabric Warehouse · Oracle

Deploy a tested project to a production environment whose server, databases or schemas differ from those of development. You keep the production values as a second environment in `replacement_config.json` and select it when you replace the placeholders. Afterwards, the artifacts carry the production names, and you deploy them as you deployed them to development.

Snowflake dbt and Databricks dbt artifacts have no `replacement_config.json`; their placeholder values are described in [dbt - Placeholder values](https://knowledge.bigenius-x.com/dbt-placeholder-values?hsLang=en).

### Prerequisites

- The project is deployed and tested in development, as described in the deployment article of your platform, see [Related articles](https://knowledge.bigenius-x.com/deploy-a-project-in-production#related-articles).
- The production target is prepared like the development target, as described in the target environment article of your platform.
- You have the production value of every variable in `replacement_config.json`. The placeholder values article of your platform describes each variable.
- When the production target already holds data, the [Deployment Options](https://knowledge.bigenius-x.com/deployment-options-project?hsLang=en) decide whether the deployment drops and recreates its tables. The section "Redeploy and keep data" of the deployment article of your platform describes the settings.

### Deploy to production

1. Generate and download the artifacts of the tested project state, as described in [Generate artifacts](https://knowledge.bigenius-x.com/generate-artifacts?hsLang=en) and [Download generated artifacts](https://knowledge.bigenius-x.com/download-generated-artifacts?hsLang=en).
2. Add a production environment, for example `PROD`, to `replacement_config.json` and enter its values, as described in [Use several environments](https://knowledge.bigenius-x.com/replace-the-placeholders-in-the-artifacts?hsLang=en#use-several-environments).
3. Run `.\replace_placeholders.ps1 -EnvironmentName "PROD"` in the artifacts folder. The script prints `-> using environment PROD`.
4. Check that no development value is left, as described in [Check the result](https://knowledge.bigenius-x.com/deploy-a-project-in-production#check-the-result).
5. Deploy the artifacts to the production target, as described in the deployment article of your platform.

Each download contains a new `replacement_config.json` with only the `DEV` environment. To reuse your production values, keep your file outside the artifacts folder and pass it with `-ReplacementConfigPath`, see [Script parameters](https://knowledge.bigenius-x.com/replace-the-placeholders-in-the-artifacts?hsLang=en#script-parameters). When the project gets a new layer or source system, copy its variables from the downloaded file into your file.

### Example

A Snowflake Data Vault project `test.datavault.snowflake` loads its Stage layer into the database `DWH_DEV` in development and `DWH_PROD` in production. Both database names are example values. `replacement_config.json` holds both environments; the dots stand for the other variables:

```
{
  "environments": [
    {
      "name": "DEV",
      "projects": [
        {
          "name": "test.datavault.snowflake",
          "variables": [
            {
              "name": "test.datavault.snowflake#stage#database_name",
              "value": "DWH_DEV",
              "secretname": ""
            },
            ...
          ]
        }
      ]
    },
    {
      "name": "PROD",
      "projects": [
        {
          "name": "test.datavault.snowflake",
          "variables": [
            {
              "name": "test.datavault.snowflake#stage#database_name",
              "value": "DWH_PROD",
              "secretname": ""
            },
            ...
          ]
        }
      ]
    }
  ],
  "secretprovider": {}
}
```

Before the replacement, `SQL\L010_Stage.sql` starts with this line:

```
USE DATABASE {test.datavault.snowflake#stage#database_name};
```

After `.\replace_placeholders.ps1 -EnvironmentName "PROD"`, it reads:

```
USE DATABASE DWH_PROD;
```

### Check the result

Before you deploy, search the artifacts for a development value, here `DWH_DEV`. Run this in the PowerShell window of step 3; it skips `replacement_config.json`, which holds both environments:

```
Get-ChildItem -Recurse -Include *.sql, *.txt, *.py, *.json, *.ipynb `
    -Exclude replacement_config.json |
    Select-String -Pattern 'DWH_DEV' -SimpleMatch |
    Select-Object -First 5
```

No output means that the files carry only production values. To find placeholders without a value, use the search in [Check the result](https://knowledge.bigenius-x.com/replace-the-placeholders-in-the-artifacts?hsLang=en#check-the-result) of the replacement article. After the deployment, check the production target as the deployment article of your platform describes.

### Failure symptoms and recovery

#### The artifacts carry the development values

Message: the script prints `-> using environment DEV`, and the search of [Check the result](https://knowledge.bigenius-x.com/deploy-a-project-in-production#check-the-result) lists lines with development values.  
Cause: The script ran without `-EnvironmentName` and used the first environment of the file.  
Fix: Unzip the downloaded artifacts again and run `.\replace_placeholders.ps1 -EnvironmentName "PROD"`. The first run replaced the placeholders, so a second run on the same files changes nothing.

#### Placeholders are left after the replacement with your own file

Cause: The project got a new layer or source system, and your file lacks its variables.  
Fix: Copy the missing variables from the downloaded `replacement_config.json` into each environment of your file, enter their values and replace the placeholders again in freshly unzipped artifacts.

For the other messages of the replacement script, see [Failure symptoms and recovery](https://knowledge.bigenius-x.com/replace-the-placeholders-in-the-artifacts?hsLang=en#failure-symptoms-and-recovery) of the replacement article.

### Related articles

- Previous: [Generate artifacts](https://knowledge.bigenius-x.com/generate-artifacts?hsLang=en), [Download generated artifacts](https://knowledge.bigenius-x.com/download-generated-artifacts?hsLang=en), [Replace the placeholders in the artifacts](https://knowledge.bigenius-x.com/replace-the-placeholders-in-the-artifacts?hsLang=en) 
    - Microsoft SQL Server: [Target environment](https://knowledge.bigenius-x.com/microsoft-sql-server-target-environment?hsLang=en), [Deployment](https://knowledge.bigenius-x.com/microsoft-sql-server-deployment?hsLang=en)
    - Snowflake: [Target environment](https://knowledge.bigenius-x.com/snowflake-target-environment?hsLang=en), [Deployment](https://knowledge.bigenius-x.com/snowflake-deployment?hsLang=en)
    - Databricks: [Target environment with Unity Catalog](https://knowledge.bigenius-x.com/databricks-target-environment-with-unity-catalog?hsLang=en), [Target environment with the Hive metastore](https://knowledge.bigenius-x.com/databricks-target-environment-with-the-hive-metastore?hsLang=en), [Deployment](https://knowledge.bigenius-x.com/databricks-deployment?hsLang=en)
    - Fabric Lakehouse: [Target environment](https://knowledge.bigenius-x.com/fabric-lakehouse-target-environment?hsLang=en), [Deployment](https://knowledge.bigenius-x.com/fabric-lakehouse-deployment?hsLang=en)
    - Fabric Warehouse: [Target environment](https://knowledge.bigenius-x.com/fabric-warehouse-target-environment?hsLang=en), [Deployment](https://knowledge.bigenius-x.com/fabric-warehouse-deployment?hsLang=en)
    - Oracle: [Target environment](https://knowledge.bigenius-x.com/oracle-target-environment?hsLang=en), [Deployment](https://knowledge.bigenius-x.com/oracle-deployment?hsLang=en)
- Next: 
    - Microsoft SQL Server: [Deployment](https://knowledge.bigenius-x.com/microsoft-sql-server-deployment?hsLang=en)
    - Snowflake: [Deployment](https://knowledge.bigenius-x.com/snowflake-deployment?hsLang=en)
    - Databricks: [Deployment](https://knowledge.bigenius-x.com/databricks-deployment?hsLang=en)
    - Fabric Lakehouse: [Deployment](https://knowledge.bigenius-x.com/fabric-lakehouse-deployment?hsLang=en)
    - Fabric Warehouse: [Deployment](https://knowledge.bigenius-x.com/fabric-warehouse-deployment?hsLang=en)
    - Oracle: [Deployment](https://knowledge.bigenius-x.com/oracle-deployment?hsLang=en)
- Reference: [Deployment Options (Project)](https://knowledge.bigenius-x.com/deployment-options-project?hsLang=en) 
    - Microsoft SQL Server: [Placeholder values](https://knowledge.bigenius-x.com/microsoft-sql-server-placeholder-values?hsLang=en)
    - Snowflake: [Placeholder values](https://knowledge.bigenius-x.com/snowflake-placeholder-values?hsLang=en)
    - Databricks: [Placeholder values](https://knowledge.bigenius-x.com/databricks-placeholder-values?hsLang=en)
    - Fabric Lakehouse: [Placeholder values](https://knowledge.bigenius-x.com/fabric-lakehouse-placeholder-values?hsLang=en)
    - Fabric Warehouse: [Placeholder values](https://knowledge.bigenius-x.com/fabric-warehouse-placeholder-values?hsLang=en)
    - Oracle: [Placeholder values](https://knowledge.bigenius-x.com/oracle-placeholder-values?hsLang=en)
- See also: [dbt - Placeholder values](https://knowledge.bigenius-x.com/dbt-placeholder-values?hsLang=en)

- [Getting started](https://knowledge.bigenius-x.com/getting-started?hsLang=en#main-content)

    - [Guidelines](https://knowledge.bigenius-x.com/getting-started?hsLang=en#guidelines)
    - [Start working](https://knowledge.bigenius-x.com/getting-started?hsLang=en#start-working)
    - [Account](https://knowledge.bigenius-x.com/getting-started?hsLang=en#account)
- [General overview](https://knowledge.bigenius-x.com/general-overview?hsLang=en)
- [Artificial Intelligence](https://knowledge.bigenius-x.com/artificial-intelligence?hsLang=en#main-content)

    - [MCP server](https://knowledge.bigenius-x.com/artificial-intelligence?hsLang=en#mcp-server)
- [Application Modules](https://knowledge.bigenius-x.com/application-modules?hsLang=en#main-content)

    - [Administration](https://knowledge.bigenius-x.com/application-modules?hsLang=en#administration)
    - [Solutions](https://knowledge.bigenius-x.com/application-modules?hsLang=en#solutions)
    - [Global Features](https://knowledge.bigenius-x.com/application-modules?hsLang=en#global-features)
    - [Projects](https://knowledge.bigenius-x.com/application-modules?hsLang=en#projects)
    - [Branches](https://knowledge.bigenius-x.com/application-modules?hsLang=en#branches)
    - [Data Connections](https://knowledge.bigenius-x.com/application-modules?hsLang=en#data-connections)
    - [Dataflow Modeling - Overview](https://knowledge.bigenius-x.com/application-modules?hsLang=en#dataflow-modeling-overview)
    - [Dataflow Modeling - Wizard Steps](https://knowledge.bigenius-x.com/application-modules?hsLang=en#dataflow-modeling-wizard-steps)
    - [Dataflow Modeling - Terms](https://knowledge.bigenius-x.com/application-modules?hsLang=en#dataflow-modeling-terms)
    - [Dataflow Modeling - Term Mapping](https://knowledge.bigenius-x.com/application-modules?hsLang=en#dataflow-modeling-term-mapping)
    - [Dataflow Modeling - Relationships](https://knowledge.bigenius-x.com/application-modules?hsLang=en#dataflow-modeling-relationships)
    - [Dataflow Modeling - Data Quality](https://knowledge.bigenius-x.com/application-modules?hsLang=en#dataflow-modeling-data-quality)
    - [Dataflow Modeling - Indexes](https://knowledge.bigenius-x.com/application-modules?hsLang=en#dataflow-modeling-indexes)
    - [Relationship Modeling](https://knowledge.bigenius-x.com/application-modules?hsLang=en#relationship-modeling)
    - [Generate Artifacts](https://knowledge.bigenius-x.com/application-modules?hsLang=en#generate-artifacts)
    - [Project Settings](https://knowledge.bigenius-x.com/application-modules?hsLang=en#project-settings)
    - [Data Marketplace](https://knowledge.bigenius-x.com/application-modules?hsLang=en#data-marketplace)
- [Generators](https://knowledge.bigenius-x.com/generators?hsLang=en#main-content)

    - [Databricks](https://knowledge.bigenius-x.com/generators?hsLang=en#databricks)
    - [Databricks dbt](https://knowledge.bigenius-x.com/generators?hsLang=en#databricks-dbt)
    - [Fabric Lakehouse](https://knowledge.bigenius-x.com/generators?hsLang=en#fabric-lakehouse)
    - [Fabric Warehouse](https://knowledge.bigenius-x.com/generators?hsLang=en#fabric-warehouse)
    - [Microsoft SQL Server](https://knowledge.bigenius-x.com/generators?hsLang=en#microsoft-sql-server)
    - [Oracle](https://knowledge.bigenius-x.com/generators?hsLang=en#oracle)
    - [Snowflake](https://knowledge.bigenius-x.com/generators?hsLang=en#snowflake)
    - [Snowflake dbt](https://knowledge.bigenius-x.com/generators?hsLang=en#snowflake-dbt)
    - [Artifacts](https://knowledge.bigenius-x.com/generators?hsLang=en#artifacts)
    - [Replace Placeholders](https://knowledge.bigenius-x.com/generators?hsLang=en#replace-placeholders)
    - [Target solution environment](https://knowledge.bigenius-x.com/generators?hsLang=en#target-solution-environment)
    - [Deployment](https://knowledge.bigenius-x.com/generators?hsLang=en#deployment)
    - [Deployment with an Azure DevOps pipeline](https://knowledge.bigenius-x.com/generators?hsLang=en#deployment-with-an-azure-devops-pipeline)
    - [Delta Deployment](https://knowledge.bigenius-x.com/generators?hsLang=en#delta-deployment)
    - [Load control environment](https://knowledge.bigenius-x.com/generators?hsLang=en#load-control-environment)
    - [Load data with a native load control](https://knowledge.bigenius-x.com/generators?hsLang=en#load-data-with-a-native-load-control)
    - [Load data with Apache Airflow](https://knowledge.bigenius-x.com/generators?hsLang=en#load-data-with-apache-airflow)
    - [Model Object Type](https://knowledge.bigenius-x.com/generators?hsLang=en#model-object-type)
    - [Properties](https://knowledge.bigenius-x.com/generators?hsLang=en#properties)
    - [Default Terms](https://knowledge.bigenius-x.com/generators?hsLang=en#default-terms)
- [Discovery application](https://knowledge.bigenius-x.com/discovery-application?hsLang=en#main-content)

    - [Discovery configurations](https://knowledge.bigenius-x.com/discovery-application?hsLang=en#discovery-configurations)
- [Best practices](https://knowledge.bigenius-x.com/best-practices?hsLang=en#main-content)

    - [Modeling Approaches](https://knowledge.bigenius-x.com/best-practices?hsLang=en#modeling-approaches)
    - [Use Cases](https://knowledge.bigenius-x.com/best-practices?hsLang=en#use-cases)
    - [Business Rules](https://knowledge.bigenius-x.com/best-practices?hsLang=en#business-rules)
    - [Data Quality Rules](https://knowledge.bigenius-x.com/best-practices?hsLang=en#data-quality-rules)
- [FAQs](https://knowledge.bigenius-x.com/faqs?hsLang=en)
- [Product Release Notes](https://knowledge.bigenius-x.com/product-release-notes?hsLang=en#main-content)

    - [SaaS Application](https://knowledge.bigenius-x.com/product-release-notes?hsLang=en#saas-application)
    - [Discovery application](https://knowledge.bigenius-x.com/product-release-notes?hsLang=en#discovery-application)
    - [Generators](https://knowledge.bigenius-x.com/product-release-notes?hsLang=en#generators)
    - [MCP server](https://knowledge.bigenius-x.com/product-release-notes?hsLang=en#mcp-server)
- [Legal Documents](https://knowledge.bigenius-x.com/legal-documents?hsLang=en#main-content)

    - [Current legal docs](https://knowledge.bigenius-x.com/legal-documents?hsLang=en#current-legal-docs)
    - [Software Product and Limits](https://knowledge.bigenius-x.com/legal-documents?hsLang=en#software-product-and-limits)

- [Contact us](https://knowledge.bigenius-x.com/kb-tickets/new?hsLang=en)
- [Customer Portal](https://knowledge.bigenius-x.com/customer-portal)
- [Sign in](https://knowledge.bigenius-x.com/_hcms/mem/login)

[![biGENIUS logo](https://knowledge.bigenius-x.com/hubfs/TRI_Logo_biGENIUS_2020_RGB-1.svg "biGENIUS logo")](https://www.bigenius-x.com)

<https://www.linkedin.com/company/bigenius> <https://www.youtube.com/@biGENIUS_DWA>

All rights reserved © 2025, biGENIUS AG