Any idea on how to get the workspace id? we would like to use the Salesforce Business Units
Thanks in advance
Sorry, but I do not understand what you are intending to do. Workspaces are specific Marketo folders. Their ID is generated by Marketo and you can get their ID from their URL If the URL is https://app-lon02.marketo.com/#DS0A1ZN9999 the the ID is 9999.
You can also get the Id from the Rest API.
It looks like I miss understood one of the functions in SF, I thought that it has Business Units like Marketing Cloud, Pardot, etc. but no, only those are able to do this.
Thanks any way is good to have this info
In Marketo, you will have to create partition assignment rules and you will be able to assign SFDC leads or contacts to partitions on almost any criteria that fits your business.