  Plasma driven particle accelerators represent the future of compact
accelerating machines and Free Electron Lasers are going to benefit from these
new technologies. One of the main issue of this new approach to FEL machines is
the design of the transfer line needed to match of the electron-beam with the
magnetic undulators. Despite the reduction of the chromaticity of plasma beams
is one of the main goals, the target of this line is to be effective even in
cases of beams with a considerable value of chromaticity. The method here
explained is based on the code GIOTTO [1] that works using a homemade genetic
algorithm and that is capable of finding optimal matching line layouts directly
using a full 3D tracking code.
