> ## 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 DB2

> Connect DB2 databases to Integrate.io ETL for reading and writing data. Configure access credentials, firewall rules, and connection settings.

* 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.)

## What is DB2?

Db2 is a family of data management products by IBM, built to manage both structured and unstructured data. Db2 can help you manage data that is on-premises as well as in private and public cloud environments. DB2 brings predictability into customer behavior to help businesses reduce complexity and drive high impact data insights.

## **To create a DB2 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/fpWCvrjvoCDC-WOb/images/new-releases/image-1.webp?fit=max&auto=format&n=fpWCvrjvoCDC-WOb&q=85&s=ee4b123eec83888c4ef250871ef2f6b6" alt="New connection button in the Connections page" width="1200" height="829" data-path="images/new-releases/image-1.webp" />
    </Frame>
  </Step>

  <Step>
    Select DB2 Database and name the connection.

    <Frame>
      <img src="https://mintcdn.com/integrateio/fpWCvrjvoCDC-WOb/images/new-releases/image-2.webp?fit=max&auto=format&n=fpWCvrjvoCDC-WOb&q=85&s=4b69573d608c4b7fd392eba6917fbaa5" alt="Selecting DB2 Database as the connection type" width="1200" height="828" data-path="images/new-releases/image-2.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/fpWCvrjvoCDC-WOb/images/new-releases/image-3.webp?fit=max&auto=format&n=fpWCvrjvoCDC-WOb&q=85&s=eb8df3972dc434e6308ad966e435d21c" alt="DB2 connection configuration form with host, database, and credentials" width="1200" height="828" data-path="images/new-releases/image-3.webp" />
    </Frame>

    <Frame>
      <img src="https://mintcdn.com/integrateio/fpWCvrjvoCDC-WOb/images/new-releases/image-4.webp?fit=max&auto=format&n=fpWCvrjvoCDC-WOb&q=85&s=c1d471107e8df8ff5dc96e103bb086c0" alt="Successful DB2 connection test confirmation" width="1200" height="828" data-path="images/new-releases/image-4.webp" />
    </Frame>
  </Step>
</Steps>

With Integrate.io’s 120+ integration sources and powerful transformation layer, your team will be able to make Db2 your single source of truth.
