sm2 setup