Note: Snowflake CLI is in Public Preview (PuPr). You can find the official documentation here.
This repository contains Snowflake Native App templates released by Snowflake Inc. These templates are customized to work with Snowflake CLI.
There are three available templates in the current version of this repository:
For a detailed understanding of the templates, please refer to the README.md within each template.
These templates are not an exhaustive list of use cases or possibilities that developers may want to explore when building their Snowflake Native App.
There are two ways you can use the templates provided in this repository.
-
Using Snowflake CLI (recommended)
For more information, please refer to the Snowflake CLI Documentation on installing and using Snowflake CLI to create a Snowflake Native App.
Once Snowflake CLI is installed and configured, run the following command in your terminal.
snow app init <project_name> [--template={basic|streamlit-python|streamlit-java}]
The command above is equivalent to the one below since
--template-repo
is optional if you intend to use any templates provided in this repository.snow app init <project_name> [--template-repo=https://github.com/snowflakedb/native-apps-templates.git] [--template={basic|streamlit-python|streamlit-java}]
-
Using git clone
You can also clone this repository manually and keep the template you would like to use. But as a note, any jinja files in this repository will not be rendered to their intended file type if using this option.