Abstract: A wind turbine comprising an integrated and segmented permanent magnet generator without the traditional end covers with bearings and shaft making it possible to manufacture and transport generator segments consisting of both generator stator and rotor segments as ready to assemble and already positioned to each other as easy transportable elements to an assembly place where they are integrated with the generator rotor and bearing system of the wind turbine to form a complete wind turbine driveline with blades, hub, bearing unit and an integrated permanent magnet generator with concentric air gap between generator stator and rotor.