how to run qemu with sgx feature enabled

I am trying to run an emulator with sgx-enabled. But I cannot find any tutorial and I run into many unexcepted problems. Will the official give us a tutorial to guide us?