CUBASE STUDIO 5 and MASCHINE 1.8

hello guys
I’ve been using cubase studio 5 for a long time and its been working good enough for me . I’m using maschine 1.8 as a vst plug-in. What I’d like to know is how can I record sample in maschine when I’m using it as a vst because I am unable to do that but if I use maschine 1.8 software itself I can record samples. ThankYou