To invest in an IPO through Upstox, log in to your account, go to the IPO section, and choose the IPO you want to apply for. Enter the necessary details and provide your UPI ID for payment processing.