Reporting Foreign Earned Salary Income

I have foreign earned salary income and want to claim foreign tax credit. I am not going for foreign income exclusion. I also have W2 income from USA employer for 2022.

 

1. On which IRS form, I declare foreign earned salary. I could not find a line on Form 1040 where my foreign salary will show up?

 

2. Do I need to pay social security tax on foreign salary income? Foreign company is not a subsidiary of USA company.