Make (something) from scratch

To make something by starting with the basic ingredients.

We made the soup from scratch.