You can configure a connection and mapping in one environment and then migrate and run the mapping in another environment.
After the migration, you can change the connection properties from the Administrator service, but you do not need to modify the mapping. Data Integration uses the configured runtime attributes from the earlier environment to run the mapping successfully in the new environment.