title: Using API Keys to send Cloud SQL Queries in JavaScript
body: <p>I am trying to service a public website from a Google Cloud SQL database (MySQL).</p>
  <p>Since it is a public website, I found out the only way for me to gain access in to use an <strong>API Key</strong>, and add it it to the request like that: <code>...?key=FHkdvfio.....</code></p>
  <p>If I understand correctly, the Cloud SQL DB end point should look something like that:</p>
  <pre><code>jdbc:google:mysql://&lt;my-instance-ip&gt;:3306/&lt;my-database-name&gt;?key=....
  </code></pre>
  <p>What I could not find, is an example of how to actually send SQL queries from JavaScript using this API Key.</p>
  <p>The reason I'm using JavaScript is because the web client is actually Google Apps Script driving a Google Sheet, with its pre-cursor JavaScript language.</p>
  <p>Since it is a PUBLIC, ANONYMOUS website, <strong>I cannot use any of the Google provided libraries for Apps Script or connection/authentication methods</strong>, as the end user is not known, nor identified or logged-into any known Google account from any known IP address. Hence, the API Key method.</p>
  <p>Can anyone point me in the right directions please?</p>