Confirmation codes are typically found on your digital flight itinerary and/or on the flight details of the account from which you purchased the ticket.
They're typically 5-10 digit alphanumeric codes. An example of a confirmation code is FLY123.
Please note that many airlines have different systems for generating confirmation codes. The above example is just an example, not an actual confirmation code.