Hi Admins!
Those of you actively working with SFDC Sandboxes may be familiar that Gainsight provides migration a tool to migrate assets from sandbox to production or production to sandbox.
Since the migration process may need the login access/credentials, are you hesitant about sharing Production access to the one who is doing migration? There’s an alternative for this.
Are you aware also that this migration is also possible without using the conventional way of providing username and password?
Won't you be excited to know that Gainsight provides an option of token generation to authenticate source and target environments?Here is how you can do it.
Let’s consider a use case where you want to migrate an asset from Sandbox to production.
So first I need to get a token from the Target org. Let’s see how to get it.
- In the Target org navigate to Administration -> X-org migration You will see an option to generate a token in the top right corner as seen in the image below.
-
When we click on this, in the next screen it asks org of the source org for where you are trying to migrate the assets.
Note: Make sure you give an 18-digit org id because the migration tool cannot authorize the 15-digit org id’s.
- Copy the token to clipboard and next lets move to Sandbox from where we need to migrate the assets from this.
Note: The token once generated will be useful until the expiry date so we need not generate the token multiples and you can’t generate the token for the same sandbox until it is expired.
- In the Sandbox, navigate to the migration page and select ‘New migration’ when you click on ‘Add Migration’ button.
- We have two options to authenticate Target org here, one through the usual method where we need user id and password and other to use the migration token. We select the migration token and paste the token which we copied to clipboard in step2 and click on authenticate.
-
Once the authenticate is successfully you will be navigated to first page of migration process, and you can start the migration.
Hope this hack has helped to you authenticate the target org and perform the migration even when someone don’t have the access to target org. So, Admins you need not worry about giving the Production org access to someone in order to perform migration.