You wouldn’t be entering the income information in the section that asks for a W2 because you did not receive a w2.
Foreign Earned income shows up on Schedule 1 line 8 and flows to 1040 line 7a other income.
The foreign tax credit shows up on Schedule 3 line 1 flows to 1040 line 13b. Depending on the software you are using, it may or may not be easy to make it show up on those lines.
You will also need to consider exchange rates.