Access Revit Document from a Custom Node

Hi, I am new to Dynamo API and developing a custom node. How to I access Revit Document from the Revit instance from which Dynamo is loaded ?

dynamo nodes, python code, zero touch code? There is a few options here. Please be specific when posting questions. Image would be nice as well.