In this paper, we study the vibrational resonance (VR) phenomenon as a useful mechanism for energy harvesting purposes. A system, driven by a low frequency and a high frequency forcing, can give birth to the vibrational resonance phenomenon, when the two forcing amplitudes resonate and a maximum in amplitude is reached. We apply this idea to a bistable oscillator that can convert environmental kinetic energy into electrical energy, that is, an energy harvester. Normally, the VR phenomenon is studied in terms of the forcing amplitudes or of the frequencies, that are not always easy to adjust and change. Here, we study the VR generated by tuning another parameter that is possible to manipulate when the forcing values depend on the environmental conditions. We have investigated the dependence of the maximum response due to the VR for small and large variations in the forcing amplitudes and frequencies. Besides, we have plotted color coded figures in the space of the two forcing amplitudes, in which it is possible to appreciate different patterns in the electrical power generated by the system. These patterns provide useful information on the forcing amplitudes in order to produce the optimal electrical power.