Step 1. Log into SnowSQL

After SnowSQL is installed (see Prerequisites for details), to log in:

  1. Open a terminal window.

  2. Start SnowSQL at the command prompt:

    $ snowsql -a <account_name> -u <user_name>


    • <account_name> is the name assigned to your account by Snowflake. In the hostname you received from Snowflake (after your account was provisioned), your account name is the full/entire string to the left of

    • <user_name> is the login name for your Snowflake user.

    Note that your full account name may include additional segments that identify the region and cloud platform where your account is hosted.

    Account name examples by region

    If your account locator is xy12345:

    Cloud Platform / . Region

    Account Locator . (with additional segments if required)

    Amazon Web Services (AWS)

    US West (Oregon)


    US East (Ohio)

    US East (N. Virginia)

    US East (Commercial Gov - N. Virginia)

    Canada (Central)

    EU (Ireland)

    Europe (London)

    EU (Frankfurt)

    Asia Pacific (Tokyo)

    Asia Pacific (Mumbai)

    Asia Pacific (Singapore)


    Asia Pacific (Sydney)


    Google Cloud Platform (GCP)

    US Central1 (Iowa)

    Europe West2 (London)


    Europe West4 (Netherlands)


    Microsoft Azure

    West US 2 (Washington)

    East US 2 (Virginia)

    US Gov Virginia

    Canada Central (Toronto)

    West Europe (Netherlands)

    Switzerland North (Zurich)

    Southeast Asia (Singapore)

    Australia East (New South Wales)


    If either of the following conditions is true, your account locator is different than the structure described in the above examples:

  3. When prompted by SnowSQL, enter the password for your Snowflake user.

For more details, see Connecting Through SnowSQL.

Next: Step 2. Create Snowflake Objects