To manage latency and routing you should use jack2 the gnu/Linux audio server.
If your amp have an output ou should plug : guitar to multi effect to amp to PC in. If your amp doesn’t have an output, you shouldn’t probably use it and go : guitar to multi effect to PC in. All this should be in mono, except if your multi effect’s output is stereo.