Co sleeping

Anyone else sleep alongside their newborn? It's the only way she'll sleep for more than 45 minutes.