My toddler will not poop on the potty: Advice?

My toddler is not wanting to poop on the potty…what can I do to make her feel comfortable enough with this?

I had to give my daughter a little miralax every day to soften her poop enough to make her comfortable enough to poop in the potty.

That one always took my kids a while. I just encouraged them and eventually they did it