There are two ways:
Plug into the main electricity supply for the larger models
Power the smaller fountains with batteries. Although the most costly option, it provides for mobility. You can even shift your favorite tabletop fountain to your gazebo or by the pool-side.