Navigate to the Generation Tool Settings menu and select Talend settings.

In the Talend Project tab, create a Talend project.

Then go to the Database connection tab and create new connections for
your Talend project.

Here, you can choose to connect by url or a named connection.

In both cases, both target and source connections should be defined.