Migrating charts and dashboards between instances

Hi, we have developed some charts and dashboards on a local instance of metabase and would like them to appear on our production instances. The data is the same structure between the two and we thought we could use the get/post dashboards and cards api methods. However the ids are not the same. We can manually change the db id issues but is there a way for us to create charts via api that take in field names instead of ids? This would be for the fields in the dataset_query portion of the charts.

Hi @natalie
The Serialization functionality in the Enterprise Edition is intended to copy data between staging and production environments:
https://www.metabase.com/docs/latest/enterprise-guide/serialization.html
You would have to script something, which translated the IDs between the two instances into field names and vice versa.