What you will need
1-2 onions, sliced.
1 teaspoon of sugar (optional).
Preheat your saute pan with some olive oil and turn it down on low to medium heat. Add your onion and cook it slowly on low heat mixing it every 2-3 minutes, you can adjust the heat a little higher after few minutes of cooking. You will also need to add some more oil as the onion cooks, make sure that you constantly mix the onion, so it doesn't burn. You will notice that the onion will start sticking to the pan and that is OK you will simply use your spatula to scrape it off the bottom, that will add color to your onion. Continue mixing, and scraping the onion for about an hour, you can also add some sugar that will help the channelization process, but it is not needed because the sugar in the onion will slowly caramelize with out any additional sugar needed.