Ok look at your stats you should have
••attack
••defense
••spy attack
••spy defense
Assuming you don't have towers take The highest stat between attack or defense and add it to spy defense
Eg
10,000attack. <- take this
9,700defense
1,000spy attack<- add to this
1,000spy defense
That will give you 11,000 in total now for every 10,000 stats you have (out of the total you just worked out) buy 100mil worth of allies, so you would need 110mil for the above sum
This is just a basic sum and it does vary between building types but it will get you on the right track