H&K Grandmeister deluxe 40 cabinet emulation

Hi all, I bought this new amp today and would like to know how the cabinet emulation works. Is it used with a mixing console or with the cab I have it plugged into or can I use it for both?

I’m sorry for the noob question as I know very little about guitar amps and recording music. I would appreciate some help, thanks.