Logging into Snowflake¶
When logging into Snowflake for the first time, we recommend using either the web-based user interface or SnowSQL (the command line client available for download from the interface).
Then, once you’re more familiar with Snowflake, you can explore connecting to Snowflake using other methods.
In this Topic:
Logging in Using the Web Interface¶
The Snowflake web interface is accessible via a URL of the form
https://<account_name>.snowflakecomputing.com, where account_name is the name assigned to your account by Snowflake (e.g.
https://abc123.snowflakecomputing.com). Note that a secure (https) connection is required:
Point your browser at the Snowflake URL for your account.
If your web browser is able to communicate with the Snowflake service, the following login screen is displayed:
Enter your credentials (user login name and password) and click Log In.
For more information about the tasks you can perform in the web interface, see Quick Tour of the Web Interface.
Logging in Using the Command Line Client (SnowSQL)¶
SnowSQL is our next-generation command line client for connecting to Snowflake to execute SQL queries and perform all DDL and DML operations, including loading data into and unloading data out of database tables.
Downloading and Installing SnowSQL¶
After logging into the Snowflake web interface (see above), go to:
Help > Download...
In the Downloads dialog, click CLI Client (snowsql):
In the dialog, click the download icon for your platform. The downloaded file is saved as:
Run the installer for your platform:
Windows: Double-click the
bash snowsql-linux_x86_64.bashon the terminal command line.
Mac OS: Double-click the
Follow the instructions provided by the installer.
Connecting to Snowflake using SnowSQL¶
From a terminal window, start SnowSQL from the command prompt using the following command:
$ snowsql -a <account_name>
Where account_name is the name assigned to your account by Snowflake. You can find your account name in the URL you received from Snowflake. Your account name is the first segment in the domain (e.g.
You can further streamline login by specifying the
-uoption followed by your user login name:
$ snowsql -a <account_name> -u <user_login_name>
When prompted, enter your login name (if you didn’t provide it when executing SnowSQL) and your password.
If you specified a valid account, user login name, and password, the SnowSQL prompt appears.
For security reasons, you cannot specify your password as an option on the command line; you must wait for SnowSQL to prompt you for your password.
However, if you would like to skip entering information on the command line or you need to automate login, you can provide all the required account and user credential information, as well as additional Snowflake default usage
information, as options in the SnowSQL
For more detailed installation, configuration, login, and usage information, see Snowflake CLI Client (SnowSQL).
Connecting Using Other Methods¶
In addition to the Snowflake web interface and SnowSQL, Snowflake supports numerous other methods for connecting, including:
- Using 3rd-party client services and applications that support JDBC or ODBC.
- Developing applications that connect through the Snowflake connectors/drivers for Python, Node.js, or Spark.
However, connecting to Snowflake using these other methods requires additional installation, configuration, and development tasks. For more information, see Connecting to Snowflake.