@tommy-82, unfortunately, I’d say there’s no short answer to the question of when to use de! It is for sure always required after the adverb através, which is why you see it in the sentence you mentioned. Otherwise, for a general overview of when to use de, this Learning Note should help: The Preposition “De” | Practice Portuguese