title: Configuring Proxy Details to connect to Snowflake
body: <p>I am trying to see if I can use Snowflake connector for spark to connect to snowflake from my python/notebook. Below is what I am using for this connection.</p>
  
  <p>Spark version - 2.3</p>
  
  <p>Snowflake JDBC  - snowflake-jdbc-3.9.2.jar</p>
  
  <p>Snowflake Connector - spark-snowflake_2.11-2.4.14-spark_2.3.jar</p>
  
  <p>However I am behind a corporate proxy and will need to specify proxy settings some where. Not sure how can achieve the same.</p>
  
  <p>Ideally if I am using JDBC connection I would specify something like this.</p>
  
  <blockquote>
    <p>jdbc:snowflake://myaccount.snowflakecomputing.com/?warehouse=mywh&amp;role=myrole&amp;<strong>useProxy=true&amp;proxyHost=myproxy&amp;proxyPort=80</strong></p>
  </blockquote>
  
  <p>But now that I am using a native connector to snowflake, as per the documentation on snowflake website, options needs to be set as below but there is no mention of proxy variables. Would appreciate if any one has inputs for me here.</p>
  
  <h1>Set options below</h1>
  
  <pre><code> sfOptions = {
    "sfURL" : "&lt;account_name&gt;.snowflakecomputing.com",
    "sfAccount" : "&lt;account_name&gt;",
    "sfUser" : "&lt;user_name&gt;",
    "sfPassword" : "&lt;password&gt;",
    "sfDatabase" : "&lt;database&gt;",
    "sfSchema" : "&lt;schema&gt;",
    "sfWarehouse" : "&lt;warehouse&gt;",
  }
  </code></pre>