Use leaves, grasses, weeds, crop and flower garden trimmings as well as kitchen parings other than meat scraps (which will attract vermin). Turn every week (the compost, that is) to encourage microbial activity, for a minimum of 90 days to ensure good quality. If you can, use a termperature probe to check temperatures, and turn when temperatures fall. Cover if cold or wet, water when dry.
It should form a ball in your fist, but not be dripping wet. Use it to ‘innoculate’ your planting area and transplant holes.