← Back to Tutorials

10. Login & Setup

  1. Go to signup.snowflake.com
  2. Choose cloud provider and region
  3. Select edition (Standard or Enterprise)
  4. Verify email and set password
  5. Access Snowsight web UI
-- Initial setup: roles and permissions
USE ROLE ACCOUNTADMIN;

CREATE ROLE analyst;
GRANT USAGE ON DATABASE my_db TO ROLE analyst;
GRANT USAGE ON SCHEMA my_db.public TO ROLE analyst;
GRANT SELECT ON ALL TABLES IN SCHEMA my_db.public TO ROLE analyst;

CREATE USER my_analyst PASSWORD = '****' DEFAULT_ROLE = analyst;
GRANT ROLE analyst TO USER my_analyst;

Best Practices

✏️ Exercise: Create a new role, user, and grant appropriate permissions. Log in as that user and verify you can query the database.