l293d separately with arduino instead of motor shield?

can any one tell me how to use l293d separately with arduino instead of motor shield?

what are the pins connected with motor shield?

Google found this:

Don't forget to add decoupling on both supplies....