Migration Script

Migration process scope

This is a manually activated process which is run once to migrate your configuration from the older connector version to the newer version, in order to avoid having to perform a new setup.

Migration script from v1.1.1 to v2.0.0

To run the migration process successfully, it is necessary to have both versions - v1.1.1 and v2.0.0 - of the connector uploaded to the same Mambu Process Orchestrator (MPO) tenant.

Installation and Configuration

The migration process requires the folder ID of the previous connector version (v1.1.1) in order to retrieve the data, and the folder ID of the new connector version (v2.0.0) in order to write the extracted data correctly. It also requires a valid oAuthUrl used to trigger the Refresh Token process. The migration script uses some MPO API calls, therefore it requires valid authentication credentials; apiKey, mpoUrl, and secret.


  1. In order to successfully run the migration script, both the initial and the current version of the connector need to use the same API Key - which is generated during the MPO Setup process
  2. To obtain the ID of the folder in MPO, navigate to the list of your MPO connectors, select the one you need, then click the Information icon. The ID will appear in a new sidebar on the right-hand side of the MPO workspace.

How to retrieve migration folder IDs

Please be aware
In order to avoid any potential loss of data, the migration script should be run outside of working hours, when there are no actions being run in Mambu - such as client or deposit account creation.

MPO setup

Initial configuration

In the MPO environment, go to the Migration process folder (within the v2.0.0 connector folder) and open Start migration [main process], switch to View mode and click New task. Fill in all the required parameters and click Add task. Wait until the task is processed.

Migration process

Alternatively, you can use the following JSON. Modify it and paste into the Code editor tab.

    "apiKey": "",
    "initial_folder_id": "",
    "mpoUrl": "",
    "new_folder_id": "",
    "oauthUrl": "",
    "secret": ""
apiKeyThis is the same connector API key ID generated during MPO setup. Details on where it was generated can be found at MPO Setup.
initial_folder_idThe identification number for the folder ID of the previous connector version (v1.1.1)
See the Note on how to obtain the folder ID.
mpoUrlMPO environment URL (for example: https://mpo-multitenant.mambuonline.com/) where the API key was generated during the MPO setup process.
new_folder_idThe identification number for the folder ID of the current connector version (v2.0.0)
See the Note on how to obtain the folder ID.
oauthUrlThe oAuth URL, which can be different for each environment used (sandbox or production). Details about the oauthUrl can be found in the Installation and configuration section from nCino Setup
secretThe connector’s secret key for the API key that is currently used and was generated during the setup process.