Raspberry Pi Single-channel relay with 6 pins pinout decipher needed
This is a 12V relay, so you need a 12V power source to operate it. I'm not sure if your raspberry pi GPIO will be able to operate it even if you provide 12V to VCC. You may want to get 5V relays like this that are designed for the raspberry pi.