# Observing Snowflake Shares

Euno observes inbound and outbound Snowflake shares as part of each Snowflake integration run. If Euno observes matching outbound and inbound Snowflake shares, it automatically creates lineage between objects in the inbound database and objects in the outbound database. This provides lineage across Snowflake accounts for teams with cross-account sharing setups.

## Observing Inbound Shares

To observe inbound shares, check **Observe Inbound Snowflake Shares** under **Advanced** in the Snowflake source configuration screen. Make sure to grant the Snowflake role used by Euno the `IMPORT SHARE` privilege:

```
GRANT IMPORT SHARE ON ACCOUNT TO ROLE euno_role;
```

Then, for each of the imported databases, grant `IMPORTED PRIVILEGES`:

```
GRANT IMPORTED PRIVILEGES ON DATABASE <your_shared_db_name> TO ROLE euno_role;
```

## Observing Outbound Shares

Euno does not automatically discover outbound shares because Snowflake only allows outbound share owners and the `ACCOUNTADMIN` role to see these shares. To observe outbound shares, configure them in the source configuration screen. Run `SHOW SHARES` as `ACCOUNTADMIN` to get a complete list of outbound shares in the account.

1. Click **Advanced** to unfold the advanced configuration section.
2. Click **Outbound shares** to unfold the outbound shares table.

<figure><img src="/files/0cWMNz6X2ub6baPgupjV" alt=""><figcaption></figcaption></figure>

3. Edit the outbound shares table by adding, editing, and removing entries. Make sure to copy the exact names of the share and database.

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

4. Save the configuration.


---

# Agent Instructions: 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:

```
GET https://docs.euno.ai/sources/data-warehouses/snowflake-integration/observing-snowflake-shares-and-cross-snowflake-account.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
