Towards a fully integrated quantum optic circuit