How to mount the Rotary Encoder?

The mounting procedures are as follow;