How to place building for them to spawn

I just made a building using the Balding editor (great tool by the way,easy to use!) to make a building but I have no idea how to incorporated so it will actually spawn. What files do I have to edit for it to spawn? I want to incorporate this into my mod and only have the mapgen json.

If it is a completely new building, you have to make a new overmap_terrain object. Check out overmap_terrain.json for details, then make the om_terrain field in your mapgen file match that overmap_terrain id, then if you want it to spawn like a shop, there’s a regional settings json that needs to be updated.