How do I apply for a V5C vehicle logbook?

Visit https://www.gov.uk/vehicle-log-book to apply for a vehicle logbook. The documents you need and the registration process is explained in detail on the site.