# Enable Snowflake Table Grants

1. Navigate to the <i class="fa-gear">:gear:</i> **App Settings** page.
2. Scroll to the **Global Integrations Settings** section.
3. Ensure the **Snowflake Table Grants** checkbox is checked. *It is enabled by default.*
4. Opt to change the **Role Prefix**. *Snowflake table grants creates a new Snowflake role for each Immuta user. To ensure these Snowflake role names do not collide with existing Snowflake roles, each Snowflake role created for Snowflake table grants requires a common prefix. When using multiple Immuta accounts within a single Snowflake account, the Snowflake table grants role prefix should be unique for each Immuta account. The prefix must adhere to* [*Snowflake identifier requirements*](https://docs.snowflake.com/en/sql-reference/identifiers-syntax.html) *and be less than 50 characters.* Once the configuration is saved, the prefix cannot be modified; however, the Snowflake table grants feature can be disabled and re-enabled to change the prefix.
5. Finish configuring your integration by following one of these guidelines:
   * **New Snowflake integration**: Set up a new Snowflake integration by following the [configuration tutorial](/saas/configuration/integrations/snowflake/how-to-guides/enterprise.md).
   * **Existing Snowflake integration (automatic setup)**: You will be prompted to enter connection information for a Snowflake user. Immuta will execute the migration to Snowflake table grants using a connection established with this Snowflake user. The Snowflake user you provide here must have Snowflake privileges to run these [privilege grants](/saas/configuration/integrations/snowflake/reference-guides/table-grants-overview.md#snowflake-privileges).
   * **Existing Snowflake integration (manual setup)**: Immuta will display a link to a migration script you must run in Snowflake and a link to a rollback script for use in the event of a failed migration. Important: Execute the migration script in Snowflake before clicking **Save** on the app settings page.

{% hint style="info" %}
**Snowflake table grants private preview migration**

To migrate from the private preview version of Snowflake table grants (available before September 2022) to the generally available version of Snowflake table grants, follow the steps in the [migration guide](/saas/configuration/integrations/snowflake/how-to-guides/integration-settings/table-grants-migration.md).
{% endhint %}


---

# 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://documentation.immuta.com/saas/configuration/integrations/snowflake/how-to-guides/integration-settings/table-grants.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.
