Create an organizational listing¶
Before you begin, make sure you have the necessary privileges to create and manage organizational listings on behalf of the organization.
Create an organizational listings from the share with the required attributes included in YAML (entered in $$ delimiters).
This part of the manifest yaml specifies the accounts that will be able to use the organizational listing:
organization_targets:
access:
This example creates a listing using the required settings in the manifest YAML. It targets one role in one account in one region:
USE ROLE <organizational_listing_role>;
CREATE ORGANIZATION LISTING <organizational_listing_name>
SHARE <share_name> AS
$$
title: "My title"
description: "One region, all accounts"
organization_profile: "INTERNAL"
organization_targets:
access:
- account: "<account_name>"
roles:
- "<role>"
locations:
access_regions:
- name: "PUBLIC.<snowflake_region>"
$$;
Follow these steps to create an organizational listings by using Provider Studio:
Create an organizational listings draft
Sign in to Snowsight.
Select Data Products » Provider Studio » + Listing » Internal Marketplace.
Attach a data product
Select + Data Product » + Select.
The + Data Product dialog opens.
Search for and choose a data product to share.
- Near the Data Product icon, you can select the product name to change your selection or add metadata to it.
You can remove the data product if you haven’t already published the listing.
Select Save to verify your selections.
(Optional) Provide a title and ULL
Select Untitled Listing. The Edit listing title dialog appears.
For Listing title, enter a descriptive title for your data product.
Select Save or Cancel.
Set who can access the listing (the target accounts or roles)
Select Who can access.
(Default) Select My organization to allow access from all existing and future accounts and roles.
(Optional) Select Selected accounts and roles to select which accounts and roles to allow.
(Optional) For Account, select one or more account to share with.
(Optional) For Role, select one or more role to share with.
Final steps
(Optional) Enter more information on the listing page to guide the consumers.
- Select Publish to make the listing available in the
Internal Marketplace. If you exit without publishing, the listing is saved as a draft, ready for review or for the addition of descriptive metadata.