Help with a OPB704W object sensor

yes, i think cathode and emitter can go directly to ground...
that would make sense...
but to b sure u should take a look in the datasheet... they often show example circuits...