What goes under an outdoor putting green?

I recently found out i was supposed to use astro turf for a putting green but what should i place under it for it to be flat. What should i place under it?
not necessarily a flat surface just a surface that is good for putting in case i want some slope not necessarily a flat surface just a surface that is good for putting in case i want some slope