Apparatus for embedding a stent to form an anastomosis is provided and vacuum. The stent has a generally tubular body of non-scalability. A proximal portion and a lumen and the distal portion extends through at least a portion of the body, the body of the tube-shaped, the distal provided in the distal portion which is in fluid communication with the lumen and a proximal opening which is provided with an opening, the proximal portion that is in fluid communication with the lumen. Furthermore, the stent comprises a magnetic element of the first disposed on the distal portion of the tubular body, and a magnetic element of a second can be positioned movably in the proximal portion of the tubular body. Magnetic elements of said second, has a structure that can be moved toward the magnetic element of said first the outer upper and surrounds the proximal portion of the tubular body.減圧及び吻合を形成するためのステントを埋め込むための装置が提供されている。該ステントは、非拡張性の概ね管状の本体を備えている。該管状の本体は、近位部分と及び遠位部分と、該本体の少なくとも一部分を貫通している管腔と、該管腔と流体連通している前記遠位部分に設けられた遠位の開口と、前記管腔と流体連通している前記近位部分に設けられた近位の開口とを備えている。該ステントは更に、前記管状本体の遠位部分に配置されている第一の磁気要素と、前記管状本体の近位部分に可動状態で位置決めできる第二の磁気要素とを備えている。該第二の磁気要素は、前記管状本体の近位部分を包囲し且つその外周上を前記第一の磁気要素に向かって動かすことができる構造とされている。