how do you create ionic bonding?

how do you create ionic bonding?