# Setting up the tDBOutput\_1 component

The tDBOutput\_1 component writes the data received from tFixedFlowInput to a database table in the specified Google Cloud SQL for PostgreSQL instance.

## Procedure

1. Double-click tDBOutput\_1 to open its Basic settings view.
2. Make sure that PostgreSQL is selected from the Database drop-down list.
3. Select the Use an existing connection option and select tDBConnection\_1 from the Component List drop-down list.

   This step enables the tDBOutput\_1 component to reuse the database connection established by the tDBConnection\_1 component.
4. Type in the name of the database table to write the data into in the Table field (users in this example).

   You can also select an existing database table by clicking the [...] button next to the Table field.
5. Select the action to be performed to the database table from the Action on table drop-down list (Default in this scenario).
6. Select the action to be performed to the data from the Action on data drop-down list (Insert in this scenario).
7. Click the Sync columns button to make sure the component has the same columns as those of the tFixedFlowInput\_1 component.
8. Leave the other options as they are.

   ![](https://help.qlik.com/talend/en-US/components/8.0/Resources/images/use-case-postgresql-3.png)