I'm not sure where SCM fits into Code Stream, but we have basic information about setting up Code Stream in this topic: How Do I Set Up vRealize Automation Code Stream
If your SCM endpoints are in an on-prem a Gitlab or Github repo, this topic might be of some help.