It's really quite simple!
Simply go to https://www.gog.com/game/the_witcher_3_wild_hunt_game_of_the_year_edition (this should also work with the regular edition) and buy and add the game to your library.
Do NOT click "Download and Install" at this point. We will do this through Lutris.