A resident of India is taxed on worldwide income, so US income is included in the Indian return. The DTAA gives relief either by exemption or, more commonly for the US, by a foreign tax credit.
The credit equals the lower of the US tax paid on that income and the Indian tax on the same income. It is claimed by filing Form 67 online before the ITR is filed, with proof of the foreign tax (e.g. Form 1040, W-2 or 1042-S).
US dividends are typically subject to withholding; that withholding is creditable in India. For US capital gains, check whether the treaty assigns taxing rights, then apply the credit on what remains taxable in India.
Timing differences matter: the US tax year is the calendar year and India's is April–March, so the income and the foreign tax must be matched to the right Indian year.
Indus Tax prepares Form 67, matches the US and Indian tax years and computes the exact creditable amount.

