I need to find all number fields with absolute value of discriminant $\le 20$.
Using Minkovsky's theorem I understood that it should be quadric or cubic extension. The case of quadric is very easy. As for cubic case I understood that it should have 2 complex embeddings and his ideal class group should be trivial. But I don't know to how find all of them.
I'm going to assume you mean that the absolute value of the discriminant has to be $\le 20$. You seem happy with the quadratic case, and have correctly narrowed down the cubic fields to complex cubic fields.
Hint. The trick here is that the smallest value the discriminant of a cubic field can take (in absolute value) is $23$, namely $\mathbb{Q}[x]/(x^3-x^2+1)$ whose discriminant is $-23$, so there are in fact no cubic fields of discriminant $|\Delta|\le 20$.