Anvils can be found throughout the world map with a little, black, brick-like sign that looks much like anvils, one example is an anvil south of Varrock's west bank, near the Grand Exchange.
To Set up the Cannon:Just have all the parts inside your inventory, and click on the cannon base. Your cannon will set up automatically.To Load The Cannon: Press "Fire" on the cannon when it's set up.