The differential equation given is:
\[ \sin x \frac{dy}{dx} - y \cos x = 1 \]
This can be rewritten in the standard linear form:
\[ \frac{dy}{dx} + P(x)y = Q(x) \]
where \( P(x) = -\frac{\cos x}{\sin x} \).
The integrating factor (I.F.) is given by:
\[ I.F. = e^{\int P(x) \, dx} = e^{\int -\cot x \, dx} \]
Since the integral of \(-\cot x\) is \(\log |\sin x|\), the I.F. becomes:
\[ e^{\log |\sin x|} = |\sin x| \]
However, the absolute value is not necessary as we consider only the non-negative part for the integrating factor in this context, hence:
\[ I.F. = \csc x \]