You can add finished compost to your garden about 2-4 weeks before you plant.
Almost anything that was living at one time is great for compost bins (think plant life not animal) No fats,pet droppings etc.
Think sun for that compost bin 120 and 160 degrees is best
Grass clippings for nitrogen and straw for carbon.
Coffee grounds and worms go together plus all those vegetable table scraps
Paper sure but shred it first.
Think in 3’s 3ftx3ftx3ft size wise and turn every couple weeks to aerate your pile.