We present a path-integral hadronization for doubly heavy baryons. The two heavy quarks in the baryon are approximated as a scalar or axial-vector diquark described by a heavy diquark effective theory. The gluon dynamics are represented by a NJL-Model interaction for the heavy diquarks and light quarks, which leads to an effective action of the baryon fields after the quark and diquark fields are integrated out. This effective action for doubly heavy baryon includes the electromagnetic and electroweak interactions, as well as the interaction with light mesons. We also verify the Ward-Takahashi identity at the baryon level, obtain the Isgur-Wise function for weak transitions, and calculate the strong coupling constant of the doubly heavy baryon and pion. Numerical studies are also performed.