# Deregister a Connection

{% hint style="warning" %}
**Cleaning up your Snowflake environment**\
Until you manually run the cleanup script in your Snowflake environment, Immuta-managed [roles](https://documentation.immuta.com/saas/configuration/snowflake/reference-guides/table-grants-overview#table-grants-role) and Immuta policies will still exist in Snowflake.
{% endhint %}

1. Click <i class="fa-database">:database:</i> **Data** in the navigation menu and select **Connections**.
2. Click the **overflow menu** in the Actions column and select **Delete Host**.
3. Download the cleanup script provided in the modal that appears. If your connection does not support Immuta policies, you don't need to run a cleanup script, since Immuta does not create any roles or policies in your environment for those connections.
4. Click **Delete Host** again to confirm.
