Data source from one org to another, HTTP API

I am trying to import a dashboard from one org to another using HTTP api
using grafana 11.3.
So the problem is one org’s data source is not matching to another org,
the data source we create in grafana, for example Bigquery dev and this name must be present in the destination org also and uid for the dashboard is a problem so i am mapping that also

Is there any other way to directly do this because the name of the data source must be same it seems.

I could create the dashboards, but data source is a problem

Another option is to extract the datasource as a variable, so you can just select the datasource type from the dropdown, which will be different from org to org. You could even make the variable hidden so it’s more of the behind the scenes change.