How algebraic Bethe ansatz works for integrable model