MIGRATION

Switching Code Base

4min

There are times you may choose to move your code base/platform during your build cycle.

With Pathfix, changing of your platform code base does not effect your existing integrations and migrating your integrations to a new platform is very easy.



Basics

Your Pathfix integration configuration will remain unchanged. However, since your initializing platform will change, there are a few variables you need to keep in mind:

  1. Pathfix Keys: All your auth tokens and configurations are linked to your Pathfix Application. Each application has a unique Private and Public Key associated to it. To avoid any disruptions, make sure you continue using the same application in the new code base
  2. User_Id: User connections are maintained against the user_id that is sent by your original app. In most cases, this maybe the connected users email address, the Current User's Unique Id or any unique Id that is associated with the user in your database



Migration Do's

To make sure your connected user's integrations continue to work without interruptions, during your code base migration, you will need to make sure that the following variables remain the same:

  1. Pathfix Keys: Use the same Pathfix application and Keys associated for the connected users
  2. User_Id: Use the same User_Id associated with your user from the initial code base. We recommend you export the User_Id from the older platform and import it into the new platform, linking this as your existing users Unique Id.

Any API call made from the new platform should contain the same combination of Pathfix Keys and the User_Id.



Platform Setup

Pathfix can be implemented on any code or no code platform as long as there is an option to add HTML code (the script tag) and make an external API call. If you do not see a specific platform listed, follow the Code based help documentation, add the Pathfix script to your page and make the API call.

We have documented the setup for a few platforms, select the platform type to view detailed documentation:



Code based platform instructions



No-Code platform setup







Need specific help? You can always reach out to our support team for any additional assistance at [email protected].