Prepare for Migration
less than a minute
It is essential to set up your RudderStack account and environment before diving into the migration process. This guide details the prerequisites for migration.
Migration prerequisites
- Sign up for a RudderStack account.
- You will be prompted to create a new workspace. Give your workspace a name and select the appropriate region.
- Once your workspace is created, click Add Source in the default Connections tab.

- From the list of available sources, select the type of source you want to set up (for example, JavaScript, iOS (Obj-C), Android (Java), Node.js).
- After selecting your source, you will be provided with a write key and a data plane URL. These credentials are essential for initializing the RudderStack SDK in your application. Make sure to copy and store them securely.
Before proceeding with the migration, it’s crucial to consider any existing Segment code snippets or libraries from your application to avoid data duplication. Search your codebase for any references toanalytics.jsorsegment.ioand document them.
With your RudderStack account set up and your environment prepared, you’re now ready to migrate existing Segment events, update your SDK implementations, and start sending data to RudderStack.