Baking without gluten means everything you make will lack the elasticity and binding that gluten naturally provides unless you know the proper supplements.
Xanathan gum and psyllium husk are often used in place of gluten to work as a binder. Xanathan gum is a thickener and stabilizer, and psyllium husk is able to mimic some of the structure and moisture retention as gluten.
You can make your own as well with a mixture of gluten free flours such as sorghum flour, rice flour, millet flours, and tapioca or potato starches. When buying a gluten free flour blend, check the ingredients on the back to see if they already include xanathan gum in them.
For example, you could make a gluten free flour blend out of 500g of tapioca starch, 250g millet flour, and 250g of sorghum flour.
Whisk them together until thoroughly combined and store in an airtight container. Shake the container before use.