Page 248 gives us this action and he simply says that we will assume it correct.
$$ S=\int d \tau d \sigma ~\mathcal{L}=\frac{1}{4 \pi \alpha^{\prime}} \int d \tau \int_{0}^{\pi} d \sigma\left(\dot{X}^{I} \dot{X}^{I}-X^{I^{\prime}} X^{I^{\prime}}\right),\tag{12.81} $$ where $X^I$ denote transverse target-space coordinates.
Besides giving us the right answer at the end, what is the motivation for this action, how was it thought up? It seems like a modified Nambu-Goto action.