Opening ArtifactsΒΆ Follow the instructions given below to open an already-created integration artifact from the MI for VS Code extension. Create an integration project. Note Hereafter, the above-mentioned integration project directory will be referred to as <PROJECT_NAME>, and the existing project directory from which you want to import the integration artifacts will be referred to as <OLD_PROJECT_NAME>. Open the <OLD_PROJECT_NAME>/src/main/wso2mi/artifacts/<ARTIFACT_TYPE> directory. Copy the respective XML file of the artifact you want to import to your new integration project. For example, if you want to import an API, copy the <OLD_PROJECT_NAME>/src/main/wso2mi/artifacts/apis/<API_NAME.xml> file Open the <PROJECT_NAME>/src/main/wso2mi/artifacts/<ARTIFACT_TYPE> directory. Paste the XML file that you have copied. For example, if you want to import an API, paste the copied XML file in the <PROJECT_NAME>/src/main/wso2mi/artifacts/apis/ directory. Refresh the WSO2 Integrator: MI Project Explorer to ensure that the files are visible in the project structure. Note When importing artifacts with custom mediators, make sure the custom mediator name starts with the "CUSTOM_" prefix. Example <proxy name="example_proxy" startOnLoad="true" transports="http" xmlns="http://ws.apache.org/ns/synapse"> <target> <inSequence> <log level="custom"/> <CUSTOM_mymediator> ... </CUSTOM_mymediator> <log level="full"/> </inSequence> <faultSequence/> </target> </proxy>