I think what I've learned so far from this, that integrity only comes from freedom to be who you are now.
I think in order to do this we have to love and accept ourselves unconditionally with all our "warts and all", and to be ourselves.
This was combined with a question I posted previously:
"Self-esteem and humility in the same mind???"
I have come to a satisfactory integration of them, that is, to love and accept ourselves unconditionally with all our "warts and all".
Self-esteem: love and accept ourselves unconditionally, and to provide unconditional support for ourselves.
Humility: being our awareness about our warts and all.