<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/snowflake-dcm-projects-setup-guide-database-change-management-jkwxart0d" -->

---
title: Snowflake DCM Projects Setup Guide: Database Change...
description: A practical walkthrough of setting up Snowflake Database Change Management (DCM) projects across DEV, QA and PROD environments. It covers creating separate DCM...
canonical: https://daily.dev/posts/snowflake-dcm-projects-setup-guide-database-change-management-jkwxart0d
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Snowflake DCM Projects Setup Guide: Database Change Management | daily.dev
og:description: A practical walkthrough of setting up Snowflake Database Change Management (DCM) projects across DEV, QA and PROD environments. It covers creating separate DCM...
og:url: https://daily.dev/posts/snowflake-dcm-projects-setup-guide-database-change-management-jkwxart0d
og:image: https://api.daily.dev/og/posts/jKwXart0d.png
og:image:alt: Snowflake DCM Projects Setup Guide: Database Change Management
og:image:width: 1200
og:image:height: 630
og:locale: en
---

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

# Snowflake DCM Projects Setup Guide: Database Change Management

**[Snowflake Community](https://daily.dev/sources/snowflake_comm)** · 8 min read · 0 upvotes · 0 comments

## Summary

A practical walkthrough of setting up Snowflake Database Change Management (DCM) projects across DEV, QA and PROD environments. It covers creating separate DCM project objects per environment, connecting Snowflake to GitHub via API integration and personal access tokens, structuring manifest.yml with Jinja templating for environment-specific values, and writing declarative SQL definition files for databases, schemas, tables, roles and grants. The guide demonstrates a plan-then-deploy workflow (snow dcm plan / snow dcm deploy) as an alternative to the author's previous SchemaChange-based approach, which suffered from naming convention overhead and environment drift. It is framed as the first of a two-part series on Infrastructure as Code with Snowflake DCM.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://medium.com/snowflake/snowflake-dcm-projects-setup-guide-database-change-management-c82f5e33bd34>

## Questions this post answers

### How do I set up Snowflake DCM projects across DEV, QA and PROD environments?

Create a dedicated database and schema to hold DCM project metadata, then create one DCM project object per environment using `snow dcm create` (e.g. ACME_PROJECT_DEV, ACME_PROJECT_QA, ACME_PROJECT_PROD). Connect the project to GitHub via a personal access token and API integration, define a manifest.yml with per-environment Jinja variables like db, wh_size and data_retention_days, then use `snow dcm plan` followed by `snow dcm deploy` to promote changes DEV to QA to PROD.

_Teams rolling out Snowflake DCM across environments track setup guides like this on daily.dev._

### What are the downsides of using SchemaChange for managing Snowflake schema changes across multiple environments?

SchemaChange manages changes through SQL scripts and source control, but as the number of environments, objects, and contributors grows, teams must enforce a strict naming convention across every deployment, and changes can go missing between environments, forcing periodic rebasing of QA and production to keep objects and changes in sync. This overhead pushed one team toward Snowflake's declarative DCM projects instead.

_Engineers weighing schema migration tools against declarative options follow comparisons like this on daily.dev._

### How do Jinja variables work in a Snowflake DCM manifest.yml file?

A manifest.yml defines a templating section with default values and per-environment configurations (DEV, QA, PROD), each setting variables like env, db, wh_size, and data_retention_days. Definition files then reference these as Jinja placeholders such as {{db}} and {{data_retention_days}}, so the same SQL definitions produce environment-specific databases, warehouse sizes, and retention settings without duplicating scripts.

_Developers templating infrastructure-as-code configs revisit patterns like this on daily.dev._

## Similar posts on daily.dev

- [Automate DevOps for Data in Snowflake using Cortex Code](https://daily.dev/posts/automate-devops-for-data-in-snowflake-using-cortex-code-uyiwy5kx5) · Snowflake Community · 0 upvotes · 0 comments
- [Terraform for Snowflake, But Without Terraform](https://daily.dev/posts/terraform-for-snowflake-but-without-terraform-ssc1pxd6d) · Snowflake Community · 0 upvotes · 0 comments
- [Automate Your DBT Pipelines Using DBT Projects Feature: CI/CD and Dynamic Orchestration on Snowflake](https://daily.dev/posts/automate-your-dbt-pipelines-using-dbt-projects-feature-ci-cd-and-dynamic-orchestration-on-snowflake-gjxbbezkm) · Snowflake Community · 0 upvotes · 0 comments
- [Automated Snowpipe Setup with Snowflake CoCo Is Now GA](https://daily.dev/posts/automated-snowpipe-setup-with-snowflake-coco-is-now-ga-k0pd3borv) · Snowflake · 0 upvotes · 0 comments
- [Fundamentals of Azure DevOps with SQL projects](https://daily.dev/posts/fundamentals-of-azure-devops-with-sql-projects-uevgtgu26) · DevBlogs · 0 upvotes · 0 comments

---

Tags: [#github](https://daily.dev/tags/github), [#cicd](https://daily.dev/tags/cicd), [#iac](https://daily.dev/tags/iac), [#snowflake](https://daily.dev/tags/snowflake)

[View this post on daily.dev](https://daily.dev/posts/snowflake-dcm-projects-setup-guide-database-change-management-jkwxart0d)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Snowflake DCM Projects Setup Guide: Database Change Management","url":"https://daily.dev/posts/snowflake-dcm-projects-setup-guide-database-change-management-jkwxart0d","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/snowflake-dcm-projects-setup-guide-database-change-management-jkwxart0d"},"datePublished":"2026-09-15T19:15:20.150Z","dateModified":"2026-09-15T19:15:44.874Z","description":"A practical walkthrough of setting up Snowflake Database Change Management (DCM) projects across DEV, QA and PROD environments. It covers creating separate DCM...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/169970b1711d9f8a59e64ee19c0d14bc?_a=AQAEuop","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/169970b1711d9f8a59e64ee19c0d14bc?_a=AQAEuop","isAccessibleForFree":true,"articleSection":"Snowflake Community","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"Snowflake Community","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/3eb5260f70bb4653be0f9581c0d937c8","url":"https://daily.dev/sources/snowflake_comm"},"commentCount":0,"discussionUrl":"https://daily.dev/posts/snowflake-dcm-projects-setup-guide-database-change-management-jkwxart0d","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":0},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":0}],"keywords":"github,cicd,iac,snowflake","timeRequired":"PT8M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Snowflake Community","item":"https://daily.dev/sources/snowflake_comm"},{"@type":"ListItem","position":3,"name":"Snowflake DCM Projects Setup Guide: Database Change Management"}]}
{"@context":"https://schema.org","@type":"FAQPage","@id":"https://daily.dev/posts/snowflake-dcm-projects-setup-guide-database-change-management-jkwxart0d#faq","mainEntity":[{"@type":"Question","name":"How do I set up Snowflake DCM projects across DEV, QA and PROD environments?","acceptedAnswer":{"@type":"Answer","text":"Create a dedicated database and schema to hold DCM project metadata, then create one DCM project object per environment using `snow dcm create` (e.g. ACME_PROJECT_DEV, ACME_PROJECT_QA, ACME_PROJECT_PROD). Connect the project to GitHub via a personal access token and API integration, define a manifest.yml with per-environment Jinja variables like db, wh_size and data_retention_days, then use `snow dcm plan` followed by `snow dcm deploy` to promote changes DEV to QA to PROD. Teams rolling out Snowflake DCM across environments track setup guides like this on daily.dev."}},{"@type":"Question","name":"What are the downsides of using SchemaChange for managing Snowflake schema changes across multiple environments?","acceptedAnswer":{"@type":"Answer","text":"SchemaChange manages changes through SQL scripts and source control, but as the number of environments, objects, and contributors grows, teams must enforce a strict naming convention across every deployment, and changes can go missing between environments, forcing periodic rebasing of QA and production to keep objects and changes in sync. This overhead pushed one team toward Snowflake's declarative DCM projects instead. Engineers weighing schema migration tools against declarative options follow comparisons like this on daily.dev."}},{"@type":"Question","name":"How do Jinja variables work in a Snowflake DCM manifest.yml file?","acceptedAnswer":{"@type":"Answer","text":"A manifest.yml defines a templating section with default values and per-environment configurations (DEV, QA, PROD), each setting variables like env, db, wh_size, and data_retention_days. Definition files then reference these as Jinja placeholders such as {{db}} and {{data_retention_days}}, so the same SQL definitions produce environment-specific databases, warehouse sizes, and retention settings without duplicating scripts. Developers templating infrastructure-as-code configs revisit patterns like this on daily.dev."}}]}
```

