I would wait until about a month after she's spayed if at all possible, otherwise she's still got all the grouchy hormones that make bonding so difficult. My main advice is to take it slow and hang in there!
We are as gods to the beasts of the fields. We order the time o' their birth and the time o' their death. Between times, we ha' a duty. - Terry Pratchett.
"Men have forgotten this truth", said the fox, "But you must not forget it. You become responsible, forever, for what you have tamed. - Antoine de Saint-Exupéry