In this work we present the Lagrangian formulation of the general relativistic ideal fluid equations. With the help of the standard Smoothed Particle Hydrodynamics (SPH) method we obtain a discretization of the motion equations. Having in mind that several of the most interesting astrophysical systems that we observe in the universe have been shaped by fluid dynamical processes, we want to use this method to study them. We present the first steps to implement such general relativistic SPH codes.