How to operate external item by the entrance?

On DO8. See electrical schematic and chapter 9.3.1 Contact 8: Turnstile relay in Technical Documentation