You have to take off the interior door panel to get at the track that the window rides in, remove the door handles and screws in the armrest, the panel is attached with clips. Once you spot the bottom track that the window sits in, you should use some mastic/caulk to hold it into the track, once installed, run the window all the way up and leave it there for at least 24 hours to cure.
You can join the alldata site and get step by step instructions for any auto repair.