> For the complete documentation index, see [llms.txt](https://documentation.immuta.com/2024.2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.immuta.com/2024.2/data-and-integrations/snowflake/how-to-guides/integration-settings/table-grants.md).

# Enable Snowflake Table Grants

1. Navigate to the **App Settings** page.
2. Scroll to the **Global Integrations Settings** section.
3. 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.
4. Finish configuring your integration by following one of these guidelines:
   * **New Snowflake integration**: Set up a new Snowflake integration by following the [configuration guide](/2024.2/data-and-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](/2024.2/data-and-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](/2024.2/data-and-integrations/snowflake/how-to-guides/table-grants-migration.md).
{% 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://documentation.immuta.com/2024.2/data-and-integrations/snowflake/how-to-guides/integration-settings/table-grants.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
