User Activity

I have an apple Mac computer (MacOS Ventura 13.3.1) and I've had my Canon PIXMA MG5320 hooked up via a cable.  I'd like to set it up via WiFi.  Can you give me step by step instructions on how to do this?
I have a PIXMA MG5320 printer.  It prints just fine with my new Mac computer.  When I try to scan a document I get a message that says:  "failed to open a connection to the device -21345".  Any idea what I need to do to get it to work?