从列表中安装应用程序
This topic describes how to use Snowsight to install apps created using the Snowflake Native App Framework.
从列表安装应用程序的工作流程
要查找并安装应用程序列表,请执行以下步骤:
-
从列表中安装应用程序。
- If you are installing a privately shared listing, see 通过私密共享的列表安装应用程序
- If you are installing a listing shared on the Snowflake Marketplace, see Working with Snowflake Marketplace listings for an app.
- If a provider has published multiple version of an app, see 使用发布通道安装应用程序.
-
See Allow access to a consumer account for information on tasks related to managing an app. See Set up event tracing for an app for information on setting up event sharing.
设置所需权限
如要访问列表,您必须使用 ACCOUNTADMIN 角色或具有 IMPORT SHARE 和 CREATE DATABASE 权限的其他角色。
After an app is installed, the app owner can grant access to the app using application roles. See Grant application roles to account roles for details.
Note
To pay for an app, your role must also have the PURCHASE DATA EXCHANGE LISTING privilege and you must meet additional criteria. Refer to Pay for listings.
通过私密共享的列表安装应用程序
Note
作为提供商,您可以通过以下方式测试应用程序:创建私密列表,与组织中您有权访问的其他账户共享该列表,登录该账户,然后按照以下步骤安装应用程序。
要从私密列表安装应用程序,请执行以下步骤:
-
Sign in to Snowsight.
-
In the navigation menu, select Catalog » Apps.
-
In Recently shared with you, select the tile for the listing.
-
Select Security to view the privileges and logging requests for the app, including:
-
Select Get, or for a monetized app, select Buy.
Note
If the provider includes required event definitions in the app, the consumer must set up an event table before installing the app. Even sharing and the required event definitions are enabled during installation and cannot be disabled later.
-
输入应用程序的名称。
-
选择要用于安装应用程序的仓库。
-
Select Get.
-
Select Open to view the app or Done to finish.
从 Snowflake Marketplace 列表安装应用程序¶
To install an app from a Snowflake Marketplace listing:
-
Sign in to Snowsight.
-
In the navigation menu, select Marketplace » Snowflake Marketplace.
-
搜索或浏览您要访问的列表。
-
Select the listing, then view the privileges and logging requests for the app, including:
-
Select Get to access the listing.
Note
If the provider includes required event definitions in the app, the consumer must set up an event table before installing the app. Even sharing and the required event definitions are enabled during installation and cannot be disabled later.
-
选择要用于安装应用程序的仓库。
-
(Optional) Enter a name for Application name.
-
Select Get.
-
Select Open to view the app, or select Done to finish.
使用发布通道安装应用程序
发布通道允许提供商发布应用程序的多个版本。可能的版本包括:
- QA:
允许提供商发布应用程序的测试版本。通过 QA 发布通道安装的应用程序尚未经过审核或测试。
- Alpha:
允许提供商出于获得反馈的目的与使用者共享应用程序。从 Alpha 发布通道安装的应用程序可能包含未通过安全审查的版本。
- Default:
这是应用程序的生产版本。默认版本已通过 Snowflake 和功能审核。
-
Sign in to Snowsight.
-
In the navigation menu, select Catalog » Apps.
-
In Recently shared with you, select the tile for the listing.
-
Select Security to view the privileges and logging requests for the app, including:
-
Select Get to access the listing.
-
选择您要安装的应用程序版本。
通过安装不同的应用程序版本,您可以独立测试每个版本。
- 选择要用于安装应用程序的仓库。
- Optional: For Application name, enter a name.
- Select Get.
- Select Open to view the app or Done to finish.
安装应用程序的多个实例
提供商可以对应用程序进行配置,以便同时安装多个应用程序实例。
Note
从试用列表或收费列表安装的应用程序不能有多个实例。
If an app is configured to allow multiple installs, consumers can install additional instances after installing the app from a private listing or from the Snowflake Marketplace.
如果一个应用程序启用了多个实例,您的账户中最多可安装 10 个实例。
要安装应用程序的新实例,请执行以下任务:
-
Sign in to Snowsight.
-
In the navigation menu, select Catalog » Apps.
-
选择要用于安装应用程序的仓库。
If multiple instances of the app are already installed, Snowsight displays a panel showing all of the instances of the app.
-
Select Add instance
Caution
Add instance only appears if the provider has configured the app to allow multiple instances.
-
输入实例名称,然后选择该实例要使用的仓库。
-
Select Get. 应用程序安装完成后,Snowflake 会向应用程序管理员发送一封通知电子邮件。
-
Select Done to complete the installation.
After installing the app instance, you can set up event tracing for an app, configure privileges for the app, and perform other management tasks.