I have to go to a friend's wedding at a gurdwara. Part of the process is to bow down. Is it okay if I bow down keeping Allah in mind? Or will I be a non Muslim if I bow down?

Bowing down in front of idols is not allowed.