Underneath the scratchplate. Image of a Gibson 20/20 bass wiring layout, taken from a 1987 Gibson 20/20. The circuitry is fairly simple, consisting three potentiometers, and a 9v battery to power the active electronics. Note the extra components wired onto each pot.
The controls are neck pickup volume, bridge pickup volume and a master tone.