We investigate the exotic baryons as
ˉD(∗)Λc and ˉD(∗)Σ(∗)c molecules coupled to the compact five-quark (5q) states. The coupling to the 5q state is introduced by the contact term, where the relative strength for the meson-baryon channels is determined by the spin structure of the 5q states. We also introduce the one pion exchange potential (OPEP). Resonant and/or bound states are found close to the hidden-charm meson-baryon thresholds. The OPEP is not strong enough to produce a state. The states are obtained, when the 5q potential with the finite coupling strength is introduced. The spectrum structure is given by the spin configuration of the 5q states.