How to use relay switch
When the coils is not powered pin labelled 1 will be connected to pin labelled 3.

Connect power between connections A and B.

When the coils is powered pin labelled 1 will be connected to pin labelled 2.

Make sure the relay is a 6V model. The datasheet shows 12V and 24V models too.