Basic auth should be a base 64 encoded string of your username and password. Take the username and password, put them like this:

username:password

Then base64 encode that and set that to your variable.