HOw to connect TCRT5000 to Arduino

I have two questions,
How is it possible to connect TCRT5000 which is an optical reflective sensor to Arduino?
I want to know the circuit that should be used.
And also what is the code to activate it?

Thanks in advance

Searching Google with the simple query of "TCRT5000 arduino" returned two hits that addresses your question(s). In fact, they are both from the Arduino Forum.

Start there, then ask specific questions.

@kiarash, at least you need to point to some online information about some device when you ask about it!

And as pointed out, at least search and start there, then ask questions that could be answered..

Don't worry about it; just pick up from here...