The present invention provides a system and method for creating a percutaneous fluidic connection. In one embodiment, the system includes an endoscope having an end cap with a tube that defines a distal cavity and an internal magnet circumferentially arranged around the distal end of the tube. The internal magnet is delivered into the patients stomach and pressed against an inner wall of the stomach. An external magnet is placed on an external surface of the patients skin corresponding to the location of the internal magnet and the inner and external magnets are coupled together. An incision is made through the skin to access the distal cavity, and an overtube containing a PEG device is inserted into the distal cavity. The magnets are decoupled and removed, leaving the overtube in place, which is subsequently retracted from the PEG device, allowing the PEG device to be anchored in place.