This guide is for the Snowflake administrator (ACCOUNTADMIN) of an account where Genesis runs as a Snowflake Native App. The default app name is
GENESIS_DATA_AGENTS. If you installed it under another name, use that name in every command below.
Before you start
- Back up the encryption master key before uninstalling if you enabled encryption. In Genesis, open Config → Secrets and use Back up key to save a copy of
GENESIS_SECRETS.PUBLIC.GENESIS_ENCRYPTION_KEYin your own secret store. See Secrets — encryption setup and status. - Export anything you want to keep. Everything inside Genesis is deleted permanently. Export threads, agents or missions from Genesis, or take a full snapshot to S3/GCS (Genesis 1.19.95+).
- Check your event table. Run
SHOW PARAMETERS LIKE 'EVENT_TABLE' IN ACCOUNT;. If it points into a database you will drop below, runALTER ACCOUNT UNSET EVENT_TABLE;first.
Uninstall the app
- the app and all its data: threads, agents, missions, knowledge, files, connections, stored credentials, users and settings
- the compute pool
GENESIS_DATA_AGENTS_POOLand its running service - the warehouse
GENESIS_XSMALL - the service endpoint integration (
SNOWSERVICE-…) - any database the app created, including ones agents built
- every grant you gave the app, and its event-sharing settings
Optional cleanup
Did you enable the encryption key?
Did you enable the encryption key?
Did you approve external connections in Snowsight (OpenAI, Slack, GitHub, Google, Jira, …)?
Did you approve external connections in Snowsight (OpenAI, Slack, GitHub, Google, Jira, …)?
Did you use the "Grant Data Access" helper, or give Genesis a key-pair secret?
Did you use the "Grant Data Access" helper, or give Genesis a key-pair secret?
GENESIS_LOCAL_DB remains, along with any key-pair secret you bound to Genesis. Your team may also have put other things in it, such as the account event table. Look inside before you drop it.Did you set up restricted caller's rights?
Did you set up restricted caller's rights?
Did you enable custom credentials (the GENESIS_SERVICE user)?
Did you enable custom credentials (the GENESIS_SERVICE user)?
Did you connect Tailscale?
Did you connect Tailscale?
Did you add Snowflake OAuth connections?
Did you add Snowflake OAuth connections?
Did you set up the Microsoft Teams relay?
Did you set up the Microsoft Teams relay?
Did you connect Airflow (MWAA) without a stored key?
Did you connect Airflow (MWAA) without a stored key?
SECURITY_DB database may be shared with other tools, so keep it unless only Genesis used it.Did you deploy Genesis apps outside Snowflake (remote app access)?
Did you deploy Genesis apps outside Snowflake (remote app access)?
Did you create a warehouse, database, role or key for Genesis yourself?
Did you create a warehouse, database, role or key for Genesis yourself?
- a warehouse you gave Genesis;
- Cortex model roles you granted to your own roles;
- an RSA key you added to a user for a Genesis connection;
- optimization-demo databases (
CLI805_OPT_…).
Confirm it's clean (optional)
GENESIS in its name) will not show up here, so check those by name.
