You apply on Form W-7. For a first ITIN, you attach it to the front of the federal tax return that needs the number and file the two together by that return's due date. A few applicants can apply without a return under one of the exceptions in the W-7 instructions, for example to claim a tax treaty benefit. You also send documents that prove your identity and your foreign status, and a current passport is the only document that proves both on its own. The IRS takes originals or copies certified by the agency that issued them, and an ordinary photocopy does not count.
There are three ways to submit. By mail to the IRS ITIN Operation in Austin, Texas, which means mailing your original passport and waiting for it to come back. In person at an IRS Taxpayer Assistance Center that authenticates documents, by appointment at 844-545-5640, where the documents are handed back on the spot. Or through a Certifying Acceptance Agent, who can verify your passport and return it immediately, so it never goes in the mail. The IRS says to allow 7 weeks to hear back, or 9 to 11 weeks between January 15 and April 30 or if you apply from abroad.
An ITIN is for federal tax only. It does not authorize work in the US, qualify you for Social Security benefits, or change your immigration status. You need one only if you have a federal tax purpose and are not eligible for a Social Security number. You do not need it to make an estimated tax payment or to request an extension, so those do not have to wait for the number.
The LLC's own number is a separate thing. The LLC gets an EIN on Form SS-4, and if the owner has no SSN or ITIN and is not eligible for one, the form takes "foreign" on the responsible party line. Owners outside the US cannot use the online EIN application, but they can apply by phone at 267-941-1099, by fax or by mail. Once you have an ITIN, keep it in use: an ITIN that does not appear on a federal return for 3 consecutive tax years expires on December 31 of the third year.