Install a Declarative Native App¶
Snowflake Declarative Native Apps are databases that you can use to gain access to data and functionality shared by Snowflake data providers.
You can use Snowsight to install and access Declarative Native Apps, or you can use SQL commands to access the data directly.
After you install an app, you can share it with other members of your organization.
Security¶
Declarative Native Apps have a similar security model to secure data sharing:
Apps only have access to the data included in the app.
Apps can’t access the consumer’s private data.
Apps aren’t allowed to make external calls or to access data outside of the Snowflake account.
Prerequisites¶
To install a Declarative Native App, you must have a Snowflake account, and a role with either of the following privileges:
The ACCOUNTADMIN role
A role with both CREATE APPLICATION and IMPORT LISTING privileges
To purchase a paid listing, the role must also have the PURCHASE DATA EXCHANGE LISTING privilege.
Grant installation privileges¶
An ACCOUNTADMIN can allow members of the organization to install Declarative Native Apps by granting privileges to the member’s role, using the GRANT privileges TO ROLE commands:
GRANT CREATE APPLICATION ON ACCOUNT TO ROLE <role_name>;
GRANT IMPORT LISTING ON ACCOUNT TO ROLE <role_name>;
Install an app¶
Roles with installation privileges can install a Declarative Native App from the Snowflake Marketplace, or from a privately shared listing.
Sign in to Snowsight.
In the navigation menu, select Data Products » Marketplace.
Search or browse to the listing you want to access.
Select the listing, and select Get or Buy.
(Optional) Enter a name for Application name.
Select Get.
Select Open to view the app, or select Done to finish.
Sign in to Snowsight.
In the navigation menu, select Data Products » Apps.
Select the tile for the listing under Recently shared with you.
Select Get.
Select Options and enter a name for the app.
Select the warehouse where you want to install the app.
Select Get.
Select Open to view your listing or Done to finish.
Explore the listing as you would any other listing.
Show the available listings in the Snowflake Data Marketplace with the command: SHOW AVAILABLE LISTINGS IN DATA EXCHANGE SNOWFLAKE_DATA_MARKETPLACE.
SHOW AVAILABLE LISTINGS IN DATA EXCHANGE SNOWFLAKE_DATA_MARKETPLACE;
Install the app with the command: CREATE APPLICATION FROM LISTING.
CREATE APPLICATION <app_name> FROM LISTING <listing_name>;
The user who installs the app is the app owner. The app owner and the ACCOUNTADMIN have access to all objects shared in the app, including notebooks, tables, views, and other objects.
Access the app¶
For information about using the app, see Access content in a Declarative Native App.