Abstract: A method for establishing an optical connection between at least one optoelectronic component arranged in a first substrate and emitting or receiving optical radiation substantially perpendicular to a substrate surface of the first substrate, and at least one optical waveguide aligned with a first end substantially parallel to the substrate surface. The method comprises providing a second substrate that is transparent for at least one wavelength range of the optical radiation, and applying a layer of material on the second substrate. The layer is transparent, at least after structuring, for the wavelength range.