This tutorial How to use Power BI Embedded with REST helped me set the credential for my datasource. I was not able to set them using the option 7 of the provision example, I used a Rest client like PostMan and followed the article specifically the part in "Data Source Connectivity (and multi-tenacy of data)".
You can see the format of the connection string in the article.