Configure the carbon engine
Navigate to the new folder “outbound_shipping_emission_calculation” and open the “config.py” file.
You need to adjust the four following parameters:
data_pool_id
data_model_id
space_id
package_key
Where to find the id for the “data_pool_id” parameter?
Navigate to the data pool which contains the O2C data model with the shipping tables and copy the highlighted part from the URL.
Note
Make sure that the MLWB which contains the scripts for the carbon engine has all permissions for this data pool.
Example:
Where to find the id for the parameter “data_model_id”?
Navigate the O2C data model with the shipping tables and copy the highlighted part from the URL.
Note
Make sure that the MLWB which contains the scripts for the carbon engine has all permissions for this data model.
Example:
Where to find the id for the parameter “space_id”?
Navigate the studio space in which you downloaded the app. Click on the three dots and select “Key”. Copy the key.
Note
Make sure that the MLWB which contains the scripts for the carbon engine has all permissions for this space.
Example:
Where to find the id for the parameter “package_key”?
Click on the three dots next to the package that contains the downloaded app and select “Key”. Copy the key.
Note
Make sure that the MLWB which contains the scripts for the carbon engine has all permissions for this package.
Example:
Save the configuration file after you have made all customizations.