VFS Global is an agency that works with CIC. If you want to apply online, you can use CIC site (doesn't matter where you are applying from)
However, if you get the approval, you might have to go VFS Global and give them your passport to send it to the Embassy(since it isn't permitted to send...