> For the complete documentation index, see [llms.txt](https://developer.cloudfactory.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.cloudfactory.com/cloudfactory-public-api/snowflake-secure-data-sharing.md).

# Snowflake Secure Data Sharing

CloudFactory uses Snowflake, so the easiest way to share datasets would be through a Snowflake to Snowflake secure data sharing.

{% hint style="info" %}

#### <mark style="background-color:green;">`Note`</mark>

<mark style="background-color:green;">`For more information on how secure data sharing works between provider and consumer accounts, refer to the following guide from Snowflake:`</mark> [<mark style="background-color:green;">`Introduction to Secure Data Sharing`</mark>](https://docs.snowflake.com/en/user-guide/data-sharing-intro.html)<mark style="background-color:green;">`.`</mark>
{% endhint %}

Secure Data Sharing enables sharing selected objects in a database in your account with other Snowflake accounts. The following Snowflake database objects can be shared:

1. Tables
2. External tables
3. Secure views
4. Secure materialized views
5. Secure UDFs

Snowflake enables the sharing of databases through shares, which are created by data providers and “imported” by data consumers.&#x20;

<figure><img src="/files/p144Cotg7aKu93AT3wG2" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}

#### <mark style="background-color:green;">`Important`</mark>

<mark style="background-color:green;">`All database objects shared between accounts are read-only (i.e. the objects cannot be modified or deleted, including adding or modifying table data).`</mark>
{% endhint %}

####


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://developer.cloudfactory.com/cloudfactory-public-api/snowflake-secure-data-sharing.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
