{"id":21570528,"url":"https://github.com/gitpod-samples/template-dbt-snowflake","last_synced_at":"2026-01-04T07:08:44.712Z","repository":{"id":155109074,"uuid":"629053311","full_name":"gitpod-samples/template-dbt-snowflake","owner":"gitpod-samples","description":null,"archived":false,"fork":false,"pushed_at":"2023-06-29T14:51:31.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-24T12:45:31.934Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gitpod-samples.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-04-17T14:19:37.000Z","updated_at":"2024-11-15T19:10:24.000Z","dependencies_parsed_at":null,"dependency_job_id":"0cfcfc2f-3021-4824-b60f-ed7756be23b3","html_url":"https://github.com/gitpod-samples/template-dbt-snowflake","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-samples%2Ftemplate-dbt-snowflake","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-samples%2Ftemplate-dbt-snowflake/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-samples%2Ftemplate-dbt-snowflake/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gitpod-samples%2Ftemplate-dbt-snowflake/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gitpod-samples","download_url":"https://codeload.github.com/gitpod-samples/template-dbt-snowflake/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244166758,"owners_count":20409179,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-24T11:13:03.406Z","updated_at":"2026-01-04T07:08:44.634Z","avatar_url":"https://github.com/gitpod-samples.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# A dbt template on Gitpod\n\nThis is a [dbt](https://www.getdbt.com/) template configured for ephemeral cloud development environments on [Gitpod](https://www.gitpod.io/). The project is based on the famous [jaffle_shop example](https://github.com/dbt-labs/jaffle_shop/).\n\n## Connecting to Snowflake\n\nBefore you can connect to Snowflake, you need to create the following six [environment variables in Gitpod](https://gitpod.io/user/variables). This template uses Snowflake's [key pair authentication method](https://docs.snowflake.com/en/user-guide/key-pair-auth). By changing the environment variables and adapting the `profiles.yml`, it is possible to connect to Snowflake using the other methods that are listed in the [dbt documentation](https://docs.getdbt.com/reference/warehouse-setups/snowflake-setup). Since this config includes your private key, we encourage you to only use it for testing. Please check [this blog post](https://www.gitpod.io/blog/signing-git-commits-on-gitpod-with-1-password) on how to manage your SSH keys with 1password.\n\n- `DBT_SNOWFLAKE_USER`: your username\n- `DBT_SNOWFLAKE_PRIVATE_KEY`: the content of the private SSH key file (ensure that newlines are represented by whitespaces)\n- `DBT_SNOWFLAKE_ACCOUNT`: the address of your Snowflake instance\n- `DBT_SNOWFLAKE_WH`: the name of the warehouse\n- `DBT_SNOWFLAKE_DB`: the name of the database\n- `DBT_SNOWFLAKE_SCHEMA`: the name of the schema you want to use for dbt\n\nPlease check the [dbt configuration](https://docs.getdbt.com/reference/profiles.yml) if you want to connect to any other data warehouse.\n\n## Next Steps\n\nClick the button below to start a new development environment:\n\n[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/gitpod-samples/template-dbt-snowflake)\n\nThe workspace will then try to connect to your data warehose. To use the models in this example project you need to run the following commands.\n\n1. `dbt seed`: to materialize the CSVs\n2. `dbt run`: to run the models\n3. `dbt test`: to test all models\n\n## Get Started With Your Own Project\n\n### A new project\n\nClick the above \"Open in Gitpod\" button to start a new workspace. Once you're ready to push your first code changes, Gitpod will guide you to fork this project so you own it.\n\n### An existing project\n\nTo get started with dbt on Gitpod, add a [`.gitpod.yml`](./.gitpod.yml) to any of your existing dbt projects. To learn more, please see the [Getting Started](https://www.gitpod.io/docs/getting-started) documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitpod-samples%2Ftemplate-dbt-snowflake","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgitpod-samples%2Ftemplate-dbt-snowflake","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgitpod-samples%2Ftemplate-dbt-snowflake/lists"}