Baby struggling to latch...

FTM here. My baby is a week old and had almost no problems breastfeeding right away when she was born. It wasn't until a few days later that she stopped latching on. I've been pumping and giving her breastmilk from a bottle but would really love to breastfeed her directly and have that bonding experience. Any suggestions on how to get her to latch? She gets so frustrated when we try and it's just heartbreaking. If breastfeeding directly doesn't work out I'll continue to pump. I feel terrible about this :(