There are two ways. You can buy a car that already has a livery on it from the Auction House, or you can paint your own using the decal editor.
The remarkable part is that every design in the game, even the photorealistic ones, is built entirely from the basic shape decals. There is no way to import an image, which makes the best community liveries genuine works of art assembled one layer at a time.