Connecting API to SQL server

Hi, I just started working on API.  I got stuck at connecting to TMs on SQL server. I can't find SDL's instructions in terms of connecting to SQL database. Can anyone share a successful line of code? 
Also SQL admin is asking me the following questions, can you please help me find the right answers? Thank you very much!
Does API use single id for db access? Does it use windows or sql authentication? Which account like to use? What kind of permission needed?

Parents Reply Children
No Data