title: How to add bigquery-connector to an existing cluster on dataproc
body: <p>I've just started to use dataproc for doing machine learning on big data in bigquery.When i try to run this code :</p>
  <pre><code>df = spark.read.format('bigquery').load('bigquery-public-data.samples.shakespeare') 
  </code></pre>
  <p>I get an error with some part of like this :</p>
  <pre><code>java.lang.ClassNotFoundException: Failed to find data source: bigquery. Please find packages at http://spark.apache.org/third-party-projects.html
  </code></pre>
  <p>I found some tutorial like in this git repo : <a href="https://github.com/GoogleCloudDataproc/spark-bigquery-connector" rel="nofollow noreferrer">https://github.com/GoogleCloudDataproc/spark-bigquery-connector</a></p>
  <p>But idk where to write that scripts and run them.Could you make me understand?</p>
  <p>Thanks in advance</p>