> ## Documentation Index
> Fetch the complete documentation index at: https://www.integrate.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ETL: Connecting to Google Cloud SQL for PostgreSQL

> Connect Google Cloud SQL for PostgreSQL to Integrate.io ETL. Configure access, firewall rules, and connection settings for data pipelines.

* Create a user and grant it minimum permissions required for Integrate.io ETL to read or write data from the database.
* Allow access from [Integrate.io ETL's IP addresses](/etl/integrateio-etls-ip-list/) to your database port (Refer to [this](/etl/allowing-integrateio-etl-access-to-my-server-behind-a-firewall/) article if you'd prefer to create an SSH tunnel or reverse SSH tunnel.)

<Frame>
  <iframe className="w-full aspect-video rounded-xl" src="https://fast.wistia.com/embed/iframe/0cku03wi3g" title="Allowing Integrate.io ETL access to Google Cloud SQL for PostgreSQL databases" allow="autoplay; fullscreen" allowFullScreen />
</Frame>

## To create a Google Cloud SQL for PostgreSQL database connection in Integrate.io ETL

<Steps>
  <Step>
    Click the Connections icon (lightning bolt) on the top left menu.
  </Step>

  <Step>
    To create a connection, click **New connection**.

    <Frame>
      <img src="https://mintcdn.com/integrateio/V1Ns1A4dfxUcZVN3/images/connectivity-and-security/image-19.webp?fit=max&auto=format&n=V1Ns1A4dfxUcZVN3&q=85&s=229282816fdf1bd0e6bc0a4a8de87570" alt="New connection button in the Connections page" width="1200" height="879" data-path="images/connectivity-and-security/image-19.webp" />
    </Frame>
  </Step>

  <Step>
    Select Google Cloud SQL for PostgreSQL and name the connection.

    <Frame>
      <img src="https://mintcdn.com/integrateio/V1Ns1A4dfxUcZVN3/images/connectivity-and-security/image-20.webp?fit=max&auto=format&n=V1Ns1A4dfxUcZVN3&q=85&s=a5f6bbc984a87baa2c9149b8cc857082" alt="Selecting Google Cloud SQL for PostgreSQL as the connection type" width="1200" height="827" data-path="images/connectivity-and-security/image-20.webp" />
    </Frame>
  </Step>

  <Step>
    Select your access type (direct connection if you've whitelisted Integrate.io ETL's IP addresses.)
  </Step>

  <Step>
    Enter your database host name.
  </Step>

  <Step>
    Enter the database name.
  </Step>

  <Step>
    Enter the user name.
  </Step>

  <Step>
    Enter the user's password.
  </Step>

  <Step>
    Click **Test Connection** to make sure the connection details are correct.
  </Step>

  <Step>
    Click **Create connection** to create the connection.

    <Frame>
      <img src="https://mintcdn.com/integrateio/V1Ns1A4dfxUcZVN3/images/connectivity-and-security/image-21.webp?fit=max&auto=format&n=V1Ns1A4dfxUcZVN3&q=85&s=c6f3f2caece7b84d56ab42f3c7a1b343" alt="Completed Google Cloud SQL for PostgreSQL connection configuration form" width="1200" height="827" data-path="images/connectivity-and-security/image-21.webp" />
    </Frame>
  </Step>
</Steps>

<Note>
  **Note:**

  If you'd like to keep an internet connection secure and safeguard any sensitive data that is being sent between Google Cloud and Integrate.io ETL, we recommend setting up a Reverse SSH Tunnel.
</Note>
