How can i pass prosody username and password to jitsi api

Im trying to use jitsi api and i need to pass prosody username and password